Class: Refinery::MagickalWorking::MagickalWorkingsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Refinery::MagickalWorking::MagickalWorkingsController
- Defined in:
- app/controllers/refinery/magickal_working/magickal_workings_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/refinery/magickal_working/magickal_workings_controller.rb', line 8 def index # you can use meta fields from your model instead (e.g. browser_title) # by swapping @page for @magickal_working in the line below: present(@page) end |
#show ⇒ Object
14 15 16 17 18 19 20 |
# File 'app/controllers/refinery/magickal_working/magickal_workings_controller.rb', line 14 def show @magickal_working = MagickalWorking.find(params[:id]) # you can use meta fields from your model instead (e.g. browser_title) # by swapping @page for @magickal_working in the line below: present(@page) end |