Add the ability for Rooms to have a URL.

The URL is shown on the schedule and the event/proposal page.
The URL is only when a user is logged in and registered.
This commit is contained in:
Michael Ball 2020-07-10 20:18:10 -07:00
parent 636ad2cebd
commit 7d2135f851
9 changed files with 39 additions and 17 deletions

View file

@ -48,7 +48,7 @@ module Admin
private
def room_params
params.require(:room).permit(:name, :size)
params.require(:room).permit(:name, :size, :url)
end
end
end