Sha256: 489fe9cd5588ef92c1af49ac6140a710bd33428907ab317cc48593b2613f558f

Contents?: true

Size: 564 Bytes

Versions: 5

Compression:

Stored size: 564 Bytes

Contents

Refinery::Core::Engine.routes.draw do
  namespace "photo_gallery", :path => '' do
    namespace :admin, :path => 'refinery' do
      scope :path => 'photo-gallery' do
        root :to => "albums#index"

        resources :photos do
          collection do
            put :update_multiple
          end
        end

        resources :albums do
          resources :photos do
            collection do
              get :upload
              get :edit_multiple
            end
          end
        end

        resources :collections

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.3.0 config/routes.rb
refinerycms-photo-gallery-0.2.0 config/routes.rb
refinerycms-photo-gallery-0.1.2 config/routes.rb
refinerycms-photo-gallery-0.1.1 config/routes.rb
refinerycms-photo-gallery-0.1.0 config/routes.rb