redmine_embedded/config/routes.rb

5 lines
253 B
Ruby
Raw Normal View History

2012-07-23 14:30:42 +04:00
RedmineApp::Application.routes.draw do
post "/projects/:id/embedded/upload", :to => "redmine_embedded#upload", :as => :upload_embedded
get 'projects/:id/embedded(/*request_path(.:format))', :to => "redmine_embedded#index", :as => :show_embedded
end