Sha256: da5423f5fd45b95186d75fd9e8007aca049464654b13ae53cbc551d6a9b74523
Contents?: true
Size: 770 Bytes
Versions: 2
Compression:
Stored size: 770 Bytes
Contents
Gringotts::Engine.routes.draw do # index will decide where user should be redirected to root :to => "settings#index" get "prompt", :to => "settings#prompt", :as => :prompt get "setup", :to => "settings#setup", :as => :setup post "settings/update", :to => "settings#update", :as => :update_settings # disable should be DESTROY, but had issue with data-method so using POST for now post "disable", :to => "settings#disable", :as => :disable get "verify", :to => "verification#index", :as => :verification post "attempt", :to => "verification#attempt", :as => :attempt get "success", :to => "verification#success", :as => :success get "locked", :to => "verification#locked", :as => :locked end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gringotts-0.6.7 | config/routes.rb |
gringotts-0.6.5 | config/routes.rb |