Method: PassTypesController#update
- Defined in:
- app/controllers/pass_types_controller.rb
#update ⇒ Object
47 48 49 50 51 52 |
# File 'app/controllers/pass_types_controller.rb', line 47 def update @pass_type = PassType.find(params[:id]) @pass_type.update_attributes(params[:pass_type]) flash[:notice] = "Your changes have been saved" redirect_to pass_types_path end |