Method: Krikri::InstitutionsController#update
- Defined in:
- app/controllers/krikri/institutions_controller.rb
#update ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'app/controllers/krikri/institutions_controller.rb', line 31 def update @institution = Institution.find(params[:id]) if @institution.update(institution_params) redirect_to @institution else render 'edit' end end |