Class: ProtectedController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ProtectedController
show all
- Defined in:
- app/controllers/protected_controller.rb
Instance Method Summary
collapse
Instance Method Details
#set_protected_layout ⇒ Object
6
7
8
|
# File 'app/controllers/protected_controller.rb', line 6
def set_protected_layout
Odania.protected.templates.keys.first || 'odania_core/protected'
end
|