Sha256: a5d9206bd2ee800cbd33e3652730deea78b0729050fd0885333d64d9eccff44f

Contents?: true

Size: 540 Bytes

Versions: 5

Compression:

Stored size: 540 Bytes

Contents

resources :comments, :only => [:create, :destroy]

namespace :forge do
end

devise_for :users, :skip => [:registrations], :controllers => { :sessions => "sessions" }
devise_scope :user do
  get "/login" => "devise/sessions#new"
  get "/logout" => "sessions#destroy"
end

match "/sitemap", :controller => 'index', :action => 'sitemap', :via => :get
match '/pages/preview', :controller => 'pages', :action => 'preview', :via => [:post, :patch]
match '*slugs', :controller => 'pages', :action => 'show', :via => :get
root :to => "index#index"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli/modules/base/routes.rb
forge-cli-0.1.9 lib/forge-cli/modules/base/routes.rb
forge-cli-0.1.8 lib/forge-cli/modules/base/routes.rb
forge-cli-0.1.7 lib/forge-cli/modules/base/routes.rb
forge-cli-0.1.6 lib/forge-cli/modules/base/routes.rb