Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 288 Bytes
if Rails::VERSION::MAJOR >= 3
RedmineApp::Application.routes.draw do
match '/stealth/toggle', :to => 'stealth#toggle'
end
else
ActionController::Routing::Routes.draw do |map|
map.connect '/stealth/toggle',
:controller => 'stealth', :action => 'toggle'
end
end