Sha256: c3b1554db66eabab487f7a9cb72450a30e3db5d1e7e146c2b079a3fef7d65a69
Contents?: true
Size: 1.1 KB
Versions: 21
Compression:
Stored size: 1.1 KB
Contents
Tenon::Engine.routes.draw do devise_for :users, class_name: "Tenon::User", module: :devise resources :item_versions, only: [:create, :show, :new, :index] resources :assets, except: [:show] do post 'encode_notify', :on => :collection get :crop, :on => :member end resources :comments, :only => [:index, :destroy] do get 'toggle_approved', :on => :member end resources :contacts, :only => [:index, :destroy] do get 'toggle_read', :on => :member get 'toggle_replied', :on => :member end resources :events, :except => [:show] resources :galleries, :except => [:show] do post 'reorder', :on => :collection end resources :item_assets, :except => [:index, :show] resources :pages do post 'reorder', :on => :collection end resources :post_categories resources :posts do post :reorder, :on => :collection end resource :settings, :only => [:show, :update] resources :tenon_callouts do post 'reorder', :on => :collection end resources :users, :except => [:show] do get 'approve', :on => :member end root :to => 'index#index' end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
tenon-1.0 | config/routes.rb |