Sha256: 6e80f14e6c155e8b5a4cc9f7f50df9332b36c125bb38a4e735094cdf96c7ff34

Contents?: true

Size: 416 Bytes

Versions: 8

Compression:

Stored size: 416 Bytes

Contents

Rails.application.routes.draw do
  namespace :admin do

    resources :pages, :only => [ :index, :edit, :update, :destroy ]

    resources :tags, :only => :index, :format => :json    
    resources :users, :except => [:show]
    
    resources :photos, :except => [:new, :index, :show, :create] do
      get  "search", :on => :collection
      post "create", :format => :js, :on => :collection
    end
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fullstack-cms-0.1.17 config/routes.rb
fullstack-cms-0.1.15 config/routes.rb
fullstack-cms-0.1.14 config/routes.rb
fullstack-cms-0.1.13 config/routes.rb
fullstack-cms-0.1.12 config/routes.rb
fullstack-cms-0.1.11 config/routes.rb
fullstack-cms-0.1.9 config/routes.rb
fullstack-cms-0.1.8 config/routes.rb