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