Sha256: 162ebedadd3d9a3ec82e1a33b56cc38ed01f0c6f2f437b79a0b8b49e5a1384f1

Contents?: true

Size: 779 Bytes

Versions: 8

Compression:

Stored size: 779 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 => :post
match "help/:slug", :controller => :help_topics, :action => :show, :via => :get

root :to => "index#index"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
forge-cli-0.1.7 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.6 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.5 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.4 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.3 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.2 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.1 lib/forge-cli/modules/base/forge_routes.rb
forge-cli-0.1.0 lib/forge-cli/modules/base/forge_routes.rb