Sha256: 5d126d3835a188b3d430897952c655b28ad76125ff83d154ccfbb605edf78560
Contents?: true
Size: 1.21 KB
Versions: 14
Compression:
Stored size: 1.21 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 :redirects do post 'reorder', :on => :collection get 'toggle_active', :on => :member end resources :users, :except => [:show] do get 'approve', :on => :member end root :to => 'index#index' end
Version data entries
14 entries across 14 versions & 1 rubygems