Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/rich/cms/actionpack/action_controller/base.rb
Instance Method Summary collapse
Instance Method Details
#prepare_rich_cms ⇒ Object
6 7 8 9 10 11 |
# File 'lib/rich/cms/actionpack/action_controller/base.rb', line 6 def prepare_rich_cms ::Rich::Cms::Auth.current_controller = self yield ensure ::Rich::Cms::Auth.current_controller = nil end |