Class: SedgeCms::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/sedge/application_controller.rb,
app/controllers/sedge_cms/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#collectionsObject



17
18
19
# File 'app/controllers/sedge/application_controller.rb', line 17

def collections
  return @collections
end

#dashboardObject



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

#templatesObject



21
22
23
# File 'app/controllers/sedge/application_controller.rb', line 21

def templates
  render "templates/#{params[:path]}", :layout => nil
end