forked from External/greenlight
add rails flash messages that dismiss after 5 seconds
This commit is contained in:
@ -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}, :constraints => {:id => /[^\/]+/}
|
||||
get '/(:room_id)/:id', to: 'landing#resource', as: :meeting_room, defaults: {room_id: nil}, :constraints => {:id => /[^\/]+/} # override the constraint to allow '.' and disallow '/'
|
||||
end
|
||||
|
||||
root to: 'landing#index', :resource => 'meetings'
|
||||
|
Reference in New Issue
Block a user