fernandokosh / redmine_time_tracker

A time tracker plugin for Redmine
Other
203 stars 141 forks source link

NameError in Admin#index #56

Closed zech closed 10 years ago

zech commented 13 years ago

NameError in Admin#index

Hi,

i'm on the current Redmine SVN Build 6029 and i've got the following error:

Showing vendor/plugins/redmine_time_tracker/app/views/time_trackers/_update_menu.rhtml where line #31 raised:

undefined local variable or method 'plugin_redmine_time_tracker' for #<ActionView::Base:0x7fa6fbcedd68>
28: This script periodically updates the time tracker menu item to reflect any changes in the tracking state
29: Refresh rate is taken from settings. If settings is invalid, 60 secs is used. The minimum value is 5 secs.
30: -->
31: <%= javascript_tag "new PeriodicalExecuter(updateTimeTrackerMenu, #{[Setting.plugin_redmine_time_tracker['refresh_rate'].to_i == 0 ? 60 : Setting.plugin_redmine_time_tracker['refresh_rate'].to_i, 5].max});" %>
32: 
33: <% end %>