Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View routes.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
WebCMS::Application.routes.draw do
resources :options
 
resources :fields
 
resources :forms
 
resources :folders
 
match '/login' => "websites#login"
match '/logout' => "websites#logout"
match '/public/*path.:format' => "websites#public"
resources :groups do
resources :users
end
resources :users do
post :drop, :on => :member
post :destroy, :on => :member
end
 
resources :videos
resources :articles
 
resources :items do
post :sort, :on => :collection
end
 
resources :parts
resources :pages do
post :move, :on => :collection
end
resources :images do
post :sort, :on => :collection
post :drop, :on => :member
post :destroy, :on => :member
end
resources :assets do
post :sort, :on => :collection
post :drop, :on => :member
post :destroy, :on => :member
end
resources :galleries do
resources :images
end
 
resources :domains
resources :clients do
get :change, :on => :member
end
match '/:id(/*path)' => "websites#index"
root :to => 'websites#index'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.