allow periods in meeting name

This commit is contained in:
Zachary Chai 2017-03-14 12:13:18 -04:00
parent d9603fccb9
commit b0512a0569
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Rails.application.routes.draw do
# routes shared between meetings and rooms
get '/(:room_id)/:id/join', to: 'bbb#join', defaults: {room_id: nil, format: 'json'}
get '/(:room_id)/:id', to: 'landing#resource', as: :meeting_room, defaults: {room_id: nil}
get '/(:room_id)/:id', to: 'landing#resource', as: :meeting_room, defaults: {room_id: nil}, :constraints => {:id => /[^\/]+/}
end
root to: 'landing#index', :resource => 'meetings'