-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for Redmine 2.3 #28
Comments
sorry, it does not work Regards On Tue, Jun 4, 2013 at 2:29 PM, xadh00m [email protected] wrote:
|
Thanks @xadh00m for the patch! That fix worked for me, but also needed to replace link_to_remote by link_to, since link_to_remote is removed from Rails 3, which is what I suspect @R-i-c-k-y ran into. I added those patches in a PR I sent to the project maintainer: I have a working branch tested on Redmine 2.5 (Debian Wheezy) available here: Please test & feedback, I am by no means an expert in Ruby. |
Hi,
After upgrading redmine to 2.3 the plugin throws a routing exception because the routes syntax has changed. I was able to fix that issue by changing the syntax in config/routes.rb file to:
Rails.application.routes.draw do
match '/stealth/toggle', :to => 'stealth#toggle'
end
else
Rails.application.routes.draw do |map|
map.connect '/stealth/toggle',
:controller => 'stealth', :action => 'toggle',
:conditions => { :method => :post }
end
This is probably not backward compatible but works fine on redmine 2.3.
The text was updated successfully, but these errors were encountered: