config/kitsune_routes.rb in kitsune-0.0.16 vs config/kitsune_routes.rb in kitsune-0.0.17
- old
+ new
@@ -3,9 +3,10 @@
map.namespace :admin do |admin|
admin.namespace :kitsune do |kitsune|
kitsune.resources :pages
kitsune.resources :models do |model|
model.resources :records
+ model.resources :media, :only => [:new, :create]
end
end
end
map.connect '/*url', :controller => 'kitsune', :action => 'show'
end