aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/extensions/gallery_links/config/routes.rb
blob: 9c7a3d9ea157800957e1d2fd78e32c429dcb67ab (plain) (tree)


















                                                                   
Refinery::Core::Engine.routes.draw do

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

  # Admin routes
  namespace :gallery_links, :path => '' do
    namespace :admin, :path => Refinery::Core.backend_route do
      resources :gallery_links, :except => :show do
        collection do
          post :update_positions
        end
      end
    end
  end

end