Sha256: 43fdf04766ee905bcfae486c3377762785bedd05f04cd934643de30f278b3658

Contents?: true

Size: 778 Bytes

Versions: 3

Compression:

Stored size: 778 Bytes

Contents

resources :assets do
  get 'drawer', :on => :collection
  get 'place', 'prepare', :on => :member
  post 'encode_notify', :on => :collection
end

resources :comments, :only => [:index, :destroy] do
 put     'approve', :on => :member
 put     'unapprove', :on => :member
end

resources :pages do
  post    'reorder', :on => :collection
end

resources :users, :except => [:show] do
  get 'approve', :on => :member
end

resource :settings, :only => [:show, :update]

resources :help_topics, :only => [:index, :show]

match "help", :controller => :help_topics, :action => :index, :via => :get
match "help/search", :controller => :help_topics, :action => :search, :via => :get
match "help/:slug", :controller => :help_topics, :action => :show, :via => :get

root :to => "index#index"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.9 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.8 lib/forge-cli/modules/base/forge_routes.rb