config/routes.rb in beef-has_assets-0.6.8 vs config/routes.rb in beef-has_assets-0.7.0
- old
+ new
@@ -1,6 +1,6 @@
ActionController::Routing::Routes.draw do |map|
map.namespace(:admin) do |admin|
admin.resources :flickrs
- admin.resources :assets, :collection => { :by_content_type => :get, :descriptions => :get, :by_category => :get, :categories => :get, :category => :get, :content_type => :get }, :member => { :set_lead => :put, :rename_category => :post }
+ admin.resources :assets, :collection => { :by_content_type => :get, :descriptions => :get, :by_category => :get, :categories => :get, :category => :get, :content_type => :get }, :member => { :attach => :post, :rename_category => :post }
end
end
\ No newline at end of file