mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Story#109368800 registrar portal now allows contact to have dot in params[:id]
This commit is contained in:
parent
ddd83756d7
commit
e30b810eaa
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ Rails.application.routes.draw do
|
|||
# end
|
||||
# end
|
||||
|
||||
resources :contacts do
|
||||
resources :contacts, constraints: {:id => /[^\/]+(?=#{ ActionController::Renderers::RENDERERS.map{|e| "\\.#{e}\\z"}.join("|") })|[^\/]+/} do
|
||||
member do
|
||||
get 'delete'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue