Skip to content

Commit

Permalink
fix wrong link
Browse files Browse the repository at this point in the history
When clicking the sidekiq link from inside a redmine project or wiki the link is prefixed with the current url, which leads to a page not found. With this little fix the sidekiq overview is always found.
  • Loading branch information
jamasi committed Jan 17, 2015
1 parent fbe98f6 commit b06b3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
author_url 'mailto:ogom@hotmail.co.jp'
author 'ogom'

menu :top_menu, :sidekiq, 'sidekiq', :if => Proc.new {User.current.admin}
menu :top_menu, :sidekiq, '/sidekiq', :if => Proc.new {User.current.admin}
end

0 comments on commit b06b3d8

Please sign in to comment.