Sha256: 075291c620b66703cb179a3f974ad9cde508f82a1de192abf83914ab2a391e62
Contents?: true
Size: 724 Bytes
Versions: 4
Compression:
Stored size: 724 Bytes
Contents
Corkboard::Engine.routes.draw do match "/", :to => "board#show", :as => :board match "/auth", :to => "authorizations#index", :as => :authorizations, :via => [:get] # NOTE: This route entry is purely for the sake of generating the desired # url/path helper. In fact, OmniAuth handles the actual request. match "/auth/:action", :to => nil, :as => :authorization, :via => [:get] match "/auth/:provider/callback", :to => "authorizations#create", :via => [:get, :post] match "/auth/:provider", :to => "authorizations#destroy", :via => [:delete] match "/posts/:provider/callback", :to => "posts#create", :via => [:get, :post] end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
corkboard-0.1.3 | config/routes.rb |
corkboard-0.1.2 | config/routes.rb |
corkboard-0.1.1 | config/routes.rb |
corkboard-0.1.0 | config/routes.rb |