lib/ecrire/config/routes.rb in ecrire-0.22.1 vs lib/ecrire/config/routes.rb in ecrire-0.23.0
- old
+ new
@@ -12,13 +12,14 @@
namespace :admin do
root 'posts#index'
resources :posts do
collection do
- get 'new/title', controller: :posts, action: :new
get 'help', controller: :posts, action: :help
end
+ resources :tags, only: [:index, :create, :update], module: 'posts'
+ resources :titles, shallow: true
resource :image, shallow: true
resource :properties, only: [:create, :destroy]
end
namespace :configurations do
@@ -27,6 +28,5 @@
end
get '/:view', to: 'static#show'
end
-