Sha256: 4320ff886151332cea7b1ea531e57f0822c21e38e38dd9e9b11cab52de1d9e21
Contents?: true
Size: 494 Bytes
Versions: 4
Compression:
Stored size: 494 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' } } REJECTABLE_FIELDS = %w(id created_at updated_at) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cm-admin-0.4.2 | lib/cm_admin/constants.rb |
cm-admin-0.4.1 | lib/cm_admin/constants.rb |
cm-admin-0.4.0 | lib/cm_admin/constants.rb |
cm-admin-0.3.0 | lib/cm_admin/constants.rb |