Use the friendly ID gem for contest slugs
This commit is contained in:
@@ -84,6 +84,6 @@ class ContestsController < ApplicationController
|
||||
end
|
||||
|
||||
def contest_params
|
||||
params.expect(contest: [ :name, :team, :allow_registration, :slug ])
|
||||
params.expect(contest: [ :name, :team, :allow_registration ])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user