rutas más específicas
This commit is contained in:
parent
e3d2213afc
commit
883182ffe2
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
# Gestionar artículos según idioma
|
# Gestionar artículos según idioma
|
||||||
nested do
|
nested do
|
||||||
scope '(:locale)' do
|
scope '/(:locale)', constraint: /[a-z]{2}/ do
|
||||||
post :'posts/reorder', to: 'posts#reorder'
|
post :'posts/reorder', to: 'posts#reorder'
|
||||||
resources :posts do
|
resources :posts do
|
||||||
get 'p/:page', action: :index, on: :collection
|
get 'p/:page', action: :index, on: :collection
|
||||||
|
|
Loading…
Reference in a new issue