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:
parent
636ad2cebd
commit
7d2135f851
9 changed files with 39 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue