lib/cm_admin/constants.rb in cm-admin-3.0.13 vs lib/cm_admin/constants.rb in cm-admin-3.0.14
- old
+ new
@@ -36,9 +36,13 @@
verb: :post
},
custom_action_modal: {
verb: :get,
path: ':id/custom_action_modal/:action_name'
+ },
+ export: {
+ verb: :post,
+ path: 'export_to_file'
}
- }
- REJECTABLE_FIELDS = %w(id created_at updated_at)
+ }.freeze
+ REJECTABLE_FIELDS = %w[id created_at updated_at].freeze
end