Class: SedgeCms::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- SedgeCms::ApplicationController
show all
- Defined in:
- app/controllers/sedge/application_controller.rb,
app/controllers/sedge_cms/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#collections ⇒ Object
17
18
19
|
# File 'app/controllers/sedge/application_controller.rb', line 17
def collections
return @collections
end
|
#dashboard ⇒ Object
10
11
|
# File 'app/controllers/sedge/application_controller.rb', line 10
def dashboard
end
|
#raise_not_found! ⇒ Object
13
14
15
|
# File 'app/controllers/sedge/application_controller.rb', line 13
def raise_not_found!
render 'errors/404'
end
|
#templates ⇒ Object
21
22
23
|
# File 'app/controllers/sedge/application_controller.rb', line 21
def templates
render "templates/#{params[:path]}", :layout => nil
end
|