Sha256: a57c786b811e8a57ee2109e72ea6fe8c02e79e5d7b7a08893abf849947eb3de4
Contents?: true
Size: 561 Bytes
Versions: 11
Compression:
Stored size: 561 Bytes
Contents
Alchemy::Custom::Model::Engine.routes.draw do namespace :admin do match '/elfinder_ui' => 'files#ui', via: [:get] match '/elfinder' => 'files#elfinder', via: [:get, :post] end end Alchemy::Engine.routes.draw do if "Alchemy::Node".safe_constantize namespace :admin do resources :nodes do collection do get :custom_models, defaults: {format: 'json'}, constraints: {format: :json} get :custom_models_methods, defaults: {format: 'json'}, constraints: {format: :json} end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems