Sha256: bd22ef539696a40f38b90270e014b76a08016c0462f5d9b50b2f193fc5e9285c

Contents?: true

Size: 477 Bytes

Versions: 6

Compression:

Stored size: 477 Bytes

Contents

Refinery::Application.routes.draw do
  get '/pages/:id', :to => 'pages#show', :as => :page

  scope(:path => 'refinery', :as => 'admin', :module => 'admin') do
    resources :pages do
      collection do
        post :update_positions
      end
    end

    resources :pages_dialogs, :only => [] do
      collection do
        get :link_to
        get :test_url
        get :test_email
      end
    end

    resources :page_parts, :only => [:new, :create, :destroy]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-0.9.8.9 vendor/refinerycms/pages/config/routes.rb
refinerycms-0.9.8.8 vendor/refinerycms/pages/config/routes.rb
refinerycms-0.9.8.7 vendor/refinerycms/pages/config/routes.rb
refinerycms-0.9.8.6 vendor/refinerycms/pages/config/routes.rb
refinerycms-0.9.8.5 vendor/refinerycms/pages/config/routes.rb
refinerycms-0.9.8.4 vendor/refinerycms/pages/config/routes.rb