Add public scoreboard slug & URL
This commit is contained in:
@@ -69,6 +69,6 @@ class ContestsController < ApplicationController
|
||||
end
|
||||
|
||||
def contest_params
|
||||
params.expect(contest: [ :name, :team, :allow_registration ])
|
||||
params.expect(contest: [ :name, :team, :allow_registration, :slug ])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user