Sha256: 6f02cba3deef68098aa894a93be186ea40dcb71f43664cbd3b0b076497e3d991
Contents?: true
Size: 555 Bytes
Versions: 17
Compression:
Stored size: 555 Bytes
Contents
Refinery::Core::Engine.routes.draw do <% unless skip_frontend? %> # Frontend routes namespace :<%= namespacing.underscore %> do resources :<%= plural_name %><%= ", :path => ''" if namespacing.underscore == plural_name %>, :only => [:index, :show] end <% end %> # Admin routes namespace :<%= namespacing.underscore %>, :path => '' do namespace :admin, :path => <%= backend_route %> do resources :<%= plural_name %>, :except => :show do collection do post :update_positions end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems