Allow dots in conference names. This wasn't an accent issue. Now something like conferences/Ciudad.de.México.22 works.
Good info at https://prathamesh.tech/2020/06/15/allowing-dots-in-rails-routes/ . Former-commit-id: 457bfdbc041102e6ce13a629db6dbf417a97f56e
This commit is contained in:
parent
b3b6d41738
commit
d288f192fa
@ -7,7 +7,7 @@ BikeBike::Application.routes.draw do
|
||||
get 'new' => 'administration#new', as: :new_conference
|
||||
post 'save' => 'administration#save', as: :save_conference
|
||||
|
||||
scope ':slug' do
|
||||
scope ':slug', constraints: { slug: /[^\/]+/ } do
|
||||
root 'conferences#view', as: :conference
|
||||
|
||||
get 'edit' => 'administration#edit', as: :edit_conference
|
||||
|
Loading…
x
Reference in New Issue
Block a user