Sha256: aaf2b6e80278a2781e66c91bf18378f27a72baddcd2c423640eb8e3b51e04e36

Contents?: true

Size: 720 Bytes

Versions: 26

Compression:

Stored size: 720 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]
  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

26 entries across 26 versions & 1 rubygems

Version Path
wbase-0.2.7 config/routes.rb
wbase-0.2.6 config/routes.rb
wbase-0.2.5 config/routes.rb
wbase-0.2.4 config/routes.rb
wbase-0.2.3 config/routes.rb
wbase-0.2.2 config/routes.rb
wbase-0.2.1 config/routes.rb
wbase-0.2.0 config/routes.rb
wbase-0.1.7 config/routes.rb
wbase-0.1.6 config/routes.rb
wbase-0.1.5 config/routes.rb
wbase-0.1.4 config/routes.rb
wbase-0.1.3 config/routes.rb
wbase-0.1.2 config/routes.rb
wbase-0.1.0 config/routes.rb
wbase-0.0.15 config/routes.rb
wbase-0.0.14 config/routes.rb
wbase-0.0.13 config/routes.rb
wbase-0.0.12 config/routes.rb
wbase-0.0.11 config/routes.rb