Sha256: 6060eed938c36e38814734ed9a38225fb585ed3feab940f4feb96e57cf5addbd
Contents?: true
Size: 709 Bytes
Versions: 53
Compression:
Stored size: 709 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' }, history: { verb: :get, path: ':id/history' }, custom_action: { verb: :post }, custom_action_modal: { verb: :get, path: ':id/custom_action_modal/:action_name' } } REJECTABLE_FIELDS = %w(id created_at updated_at) end
Version data entries
53 entries across 53 versions & 1 rubygems