config/routes.rb in superconductor-0.0.3 vs config/routes.rb in superconductor-0.0.4
- old
+ new
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
namespace :superconductor, module: 'Superconductor' do
- put 'edit(/*id)' => 'file#update', :as => nil
- get 'edit(/*id)' => 'file#edit', :as => :file
+ put 'edit/*file(.:format)' => 'file#update', :as => nil
+ get 'edit/*file(.:format)' => 'file#edit', :as => :file
end
end