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