Method: PagesController#resource
- Defined in:
- app/controllers/pages_controller.rb
#resource ⇒ Object
68 69 70 71 |
# File 'app/controllers/pages_controller.rb', line 68 def resource return @page ||= Page.find(params[:id]) @attachments = @page. end |