Sha256: b43e7b70751f1874bbec6632ad68efb6fed6ea4adb645d2a2f921fad3cd81642

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

Refinery::Core::Engine.routes.append do

  # Frontend routes
  namespace :pods do
    resources :pods, :path => '', :only => [:index, :show]
  end

  # Admin routes
  namespace :pods, :path => '' do
    namespace :admin, :path => 'refinery' do
      resources :pods, :except => :show do
        collection do
          post :update_positions
        end
      end
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-pods-2.1.1 config/routes.rb
refinerycms-pods-2.1.0 config/routes.rb
refinerycms-pods-2.0.3 config/routes.rb
refinerycms-pods-2.0.2 config/routes.rb
refinerycms-pods-2.0.1 config/routes.rb