SphereSoftware / easy_agile

Easy Agile is a Redmine plugin for agile project management.
MIT License
51 stars 15 forks source link

finished_iterations_url error #1

Closed binaryphile closed 13 years ago

binaryphile commented 13 years ago

After one of my iterations completed, the main easy_agile tab throws the following error:

Processing EasyAgileController#show (for 192.168.0.112 at 2010-11-24 13:27:40) [GET]
  Parameters: {"project_id"=>"www-diditbetter-com", "action"=>"show", "controller"=>"easy_agile"}
Rendering template within layouts/ea_base
Rendering easy_agile/show

ActionView::TemplateError (undefined local variable or method `finished_iterations_url' for #<ActionView::Base:0x6af68d8>) on line #36 of vendor/plugins/easy_agile/app/views/easy_agile/show.html.erb:
33:       </p>
34:       <% unless @project.iterations.finished.empty? %>
35:       <p>
36:       <%= link_to l(:finished_iterations), finished_iterations_url %>
37:       </p>
38:       <% end %>
39:       </div>

    vendor/plugins/easy_agile/app/views/easy_agile/show.html.erb:36

Rendering C:/BitNami/apps/redmine/public/500.html (500 Internal Server Error)

After not being able to track down the location where this should be defined, I've removed that portion of the "show" file. Obviously, this is less than an optimal solution.

Any ideas?

msorc commented 13 years ago

https://github.com/SphereConsultingInc/easy_agile/commit/bed836d8d08ad35dc9b26d9b04203f4d2ef09a52