config/routes.rb in family_gallery-0.0.4 vs config/routes.rb in family_gallery-0.0.5
- old
+ new
@@ -10,12 +10,14 @@
end
resources :locales, only: :create
resources :pictures do
- resources :user_taggings
+ resources :user_taggings, only: [:new, :create, :destroy]
end
- resources :users
+ resources :users do
+ resources :user_roles, only: [:new, :create, :destroy]
+ end
root "welcome#index"
end