File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111# Minor Issue:
1212# Error handling for Page not found behaves slightly differently than ContentController currently. If the user is logged
1313# in as an editor, they will get a 500 page rather than 404. This would require reworking how the error processing
14- # works in Cms::ContentRenderingSupport.
14+ # works in Cms::ContentRenderingSupport.
1515module Cms
1616 module Acts
1717
@@ -22,7 +22,7 @@ module PageHelper
2222 def cms_toolbar
2323 ""
2424 end
25-
25+
2626 # If we are showing an error page, use that. Otherwise, just a blank page object that has a default title.
2727 def current_page
2828 super ? super : OpenStruct . new ( page_title : controller . class . name . gsub ( "Controller" , "" ) )
@@ -33,6 +33,7 @@ module ContentPage
3333 def self . included ( base )
3434 base . send :include , Cms ::ContentRenderingSupport
3535 base . send :include , Cms ::Authentication ::Controller
36+ base . send :include , Cms ::DomainSupport
3637 base . extend ClassMethods
3738
3839 base . helper Cms ::PageHelper
You can’t perform that action at this time.
0 commit comments