Created
April 20, 2010 00:32
-
-
Save ruprict/371851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionView::TemplateError (portfolio_image_url failed to generate from {:action=>"show", :controller=>"portfolio", :portfolio_id=>0, :id=>#<PortfolioEntry id: 1, title: "Photo Album", body: "", position: nil, parent_id: nil, created_at: "2010-04-19 17:19:51", updated_at: "2010-04-19 17:19:51">}, expected: {:action=>"show", :controller=>"portfolio"}, diff: {:portfolio_id=>0, :id=>#<PortfolioEntry id: 1, title: "Photo Album", body: "", position: nil, parent_id: nil, created_at: "2010-04-19 17:19:51", updated_at: "2010-04-19 17:19:51">}) on line #17 of vendor/plugins/refinerycms-portfolio/app/views/portfolio/show.html.erb: | |
14: <ul id='portfolio_images'> | |
15: <% @portfolio_entry.images.each_with_index do |image, index| %> | |
16: <li class='<%= cycle("odd", "even") %>'> | |
17: <%= link_to_portfolio_image @master_entry, @portfolio_entry, image, index %> | |
18: </li> | |
19: <% end %> | |
20: </ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment