config/routes.rb in beef-has_assets-0.5.0 vs config/routes.rb in beef-has_assets-0.6.1
- 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 }, :member => { :set_lead => :put, :rename_category => :post }
+ admin.resources :assets, :collection => { :by_content_type => :get, :descriptions => :get, :by_category => :get, :categories => :get, :category => :get }, :member => { :set_lead => :put, :rename_category => :post }
end
end
\ No newline at end of file