Skip to content

Commit

Permalink
Merge pull request #2443 from anitagraham/patch-1
Browse files Browse the repository at this point in the history
Add the migration step to these instructions
  • Loading branch information
ugisozols committed Oct 20, 2013
2 parents dd25f5a + 6ce3b8e commit 9b973c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/guides/9 - Presenters/1 - Menu Presenter.textile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class AddShowInFooterToRefineryPages < ActiveRecord::Migration
end
</ruby>

Run the migration:

<shell>
rake db:migrate
</shell>

h3. Decorating the Refinery::Page model

Before overriding Refinery's form view, we want to decorate the +Refinery::Page+ class. Create a file +app/decorators/models/refinery/page_decorator.rb+ with this content:
Expand Down

0 comments on commit 9b973c5

Please sign in to comment.