Skip to content

Commit

Permalink
using nonlocalized symbols #21
Browse files Browse the repository at this point in the history
  • Loading branch information
nutso committed Jan 2, 2014
1 parent 7c8270a commit 3e98a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
version '1.2.5'

Redmine::MenuManager.map :top_menu do |menu|
menu.push :recurring_tasks, { :controller => 'recurring_tasks', :action => 'index' }, :caption => Redmine::I18n.l(:label_recurring_tasks), :if => Proc.new { User.current.admin? }
menu.push :recurring_tasks, { :controller => 'recurring_tasks', :action => 'index' }, :caption => :label_recurring_tasks, :if => Proc.new { User.current.admin? }
end

# Permissions map to issue permissions (#12)
Expand All @@ -26,7 +26,7 @@
end

# project-specific recurring tasks view (#11)
menu :project_menu, :recurring_tasks, { :controller => 'recurring_tasks', :action => 'index' }, :caption => Redmine::I18n.l(:label_recurring_tasks), :after => :new_issue, :param => :project_id
menu :project_menu, :recurring_tasks, { :controller => 'recurring_tasks', :action => 'index' }, :caption => :label_recurring_tasks, :after => :new_issue, :param => :project_id

# Send patches to models and controllers
Rails.configuration.to_prepare do
Expand Down

0 comments on commit 3e98a5c

Please sign in to comment.