Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Saturday, Mar 15, 2008 at 7:59 AM
- ActionView::TemplateError in Missions/index
- "mission_url failed to generate from {:action=>\"show\", :controller=>\"missions\", :id=>\"\"}, expected: {:controller=>\"missions\", :action=>\"show\"}, diff: {:id=>\"\"}"
- On line #49 of missions/_association_list.html.erb
- 46:
- 47: <div class="missions_description">
- 48:
- 49: <span class="missions_title_font"><%= link_to mission.name, mission_path(mission.url_name) %><% if mission.is_nsfw? %> <img src="/images/missions/flag_red.png" title="This is a NSFW mission" alt="NSFW" class="img_no_border" /><% end %></span> by <%= mission.user.login %>
- 50: <h5>Created <%= time_ago_in_words(mission.created_at) %> ago</h5>
- 51: <h5><%= mission.users.size %> <%= mission.users.size == 1 ? "player has" : "players have" %> taken this mission</h5>
- 52:
Add Comment
Please, Sign In to add comment