Module: Databaseformalizer::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/application_controller.rb
Overview
Define ControllerMethods
Instance Method Summary collapse
Instance Method Details
#set_special_layout_databaseformalizer ⇒ Object
10 11 12 13 14 15 |
# File 'lib/application_controller.rb', line 10 def set_special_layout_databaseformalizer module_name = self.class.name.split("::").first if module_name == 'Databaseformalizer' self.class.layout "databaseformalizer/layouts/application" end end |