Method: Engine2::ActionModifySupport#invoke
- Defined in:
- lib/engine2/action.rb
#invoke(handler) ⇒ Object
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/engine2/action.rb', line 1086 def invoke handler handler.permit id = handler.params[:id] record = find_record(handler, id) if record static.record(handler, record) {record: record} else handler.halt_not_found LOCS[:no_entry] end end |