Merge pull request 'adding place' (#1) from course into master
Reviewed-on: #1
This commit is contained in:
commit
ac55c06532
|
|
@ -68,6 +68,6 @@ class InstitutionsController < ApplicationController
|
||||||
|
|
||||||
# Only allow a list of trusted parameters through.
|
# Only allow a list of trusted parameters through.
|
||||||
def institution_params
|
def institution_params
|
||||||
params.expect(institution: [ :name, :institution_type ])
|
params.expect(institution: [ :name, :institution_type, :place ])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue