course #2
|
|
@ -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