I'm working through my first refinery implementation, and added the following code (from
this post) to my view in order to link_to an existing page
13 <div class="right-tile tile">
14 <% page = Page.find('Strategy1')%>
15 <%= link_to "Strategy 1", page.url %>
16 </div>
However, the Page class isn't being recognized:
NameError in Refinery::Pages#home
Showing /Users/dlindberg/Ruby/dl-refinery/app/views/refinery/pages/home.html.erb where line #14 raised:
uninitialized constant ActionView::CompiledTemplates::Page
Am I missing a dependency here?