Class: TypeStation::PagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TypeStation::PagesController
- Defined in:
- app/controllers/type_station/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 |
# File 'app/controllers/type_station/pages_controller.rb', line 5 def index @page = Page.root render_type_station end |
#show ⇒ Object
10 11 12 13 |
# File 'app/controllers/type_station/pages_controller.rb', line 10 def show @page = Page.find_by_path(params[:path]) render_type_station end |