Sha256: a95efb4909d272188cdb5732e0d515cfb8bf6a84769e1df1a6c088c3b4773843

Contents?: true

Size: 757 Bytes

Versions: 19

Compression:

Stored size: 757 Bytes

Contents

Wbase::Engine.routes.draw do
  [
    # 'affiliate',
    # 'contact',
    # 'faq',
    # 'privacy',
    # 'shop',
    # 'start',
    # 'subscribed',
    # 'terms',
    # 'thanks',
    'welcome',
  ].each do |action|
    get "/#{ action }", to: "static_pages##{ action }"
    get "/#{ action.gsub('_', '-') }", to: "static_pages##{ action }"
  end

  get '/logout', to: 'sessions#destroy'
  resource :user, exclude: [:destroy]
  resource :session, only: [:new, :create, :destroy]
  get '/session', to: 'sessions#new'
  resource :password_reset, only: [:new, :create, :edit, :update]
  resource :subscription, only: [:new, :create]
  resources :mail_events
  resources :stripe_webhooks
  get '/.well-known/acme-challenge/:id' => 'static_pages#letsencrypt'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wbase-0.3.16 config/routes.rb
wbase-0.3.15 config/routes.rb
wbase-0.3.14 config/routes.rb
wbase-0.3.13 config/routes.rb
wbase-0.3.12 config/routes.rb
wbase-0.3.11 config/routes.rb
wbase-0.3.10 config/routes.rb
wbase-0.3.9 config/routes.rb
wbase-0.3.8 config/routes.rb
wbase-0.3.7 config/routes.rb
wbase-0.3.6 config/routes.rb
wbase-0.3.5 config/routes.rb
wbase-0.3.4 config/routes.rb
wbase-0.3.3 config/routes.rb
wbase-0.3.2 config/routes.rb
wbase-0.3.1 config/routes.rb
wbase-0.3.0 config/routes.rb
wbase-0.2.9 config/routes.rb
wbase-0.2.8 config/routes.rb