Sha256: 1ea5ec1ced5564547202ddb3452c494edcd9f507ac199f09bc857c02dedaaa74
Contents?: true
Size: 540 Bytes
Versions: 44
Compression:
Stored size: 540 Bytes
Contents
module CmAdmin DEFAULT_ACTIONS = { index: { verb: :get, path: '/' }, new: { verb: :get, path: 'new' }, show: { verb: :get, path: ':id' }, create: { verb: :post, path: '/' }, edit: { verb: :get, path: ':id/edit' }, update: { verb: :patch, path: ':id' }, destroy: { verb: :delete, path: ':id' }, custom_action: { verb: :post } } REJECTABLE_FIELDS = %w(id created_at updated_at) end
Version data entries
44 entries across 44 versions & 1 rubygems
Version | Path |
---|---|
cm-admin-0.5.2 | lib/cm_admin/constants.rb |
cm-admin-0.5.0 | lib/cm_admin/constants.rb |
cm-admin-0.4.4 | lib/cm_admin/constants.rb |
cm-admin-0.4.3 | lib/cm_admin/constants.rb |