Sha256: a8514edaa135ea1f3ff7c2f04748b7c2d4a37c24c1a8f6dc26f7cf5df77a1f40

Contents?: true

Size: 1.03 KB

Versions: 18

Compression:

Stored size: 1.03 KB

Contents

ActionController::Routing::Routes.draw do |map|
  # Add your own custom routes here.
  # The priority is based upon order of creation: first created -> highest priority.
  
  # Here's a sample route:
  # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
  # Keep in mind you can assign values other than :controller and :action

  # You can have the root of your site routed by hooking up '' 
  # -- just remember to delete public/index.html.
  # map.connect '', :controller => "welcome"

  map.connect '', :controller => 'login'
  map.connect 'server/xrds', :controller => 'server', :action => 'idp_xrds'
  map.connect 'user/:username', :controller => 'server', :action => 'user_page'
  map.connect 'user/:username/xrds', :controller => 'server', :action => 'user_xrds'

  # Allow downloading Web Service WSDL as a file with an extension
  # instead of a file named 'wsdl'
  map.connect ':controller/service.wsdl', :action => 'wsdl'

  # Install the default route as the lowest priority.
  map.connect ':controller/:action/:id'
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
pelle-ruby-openid-2.1.8 examples/rails_openid/config/routes.rb
ruby-openid-2.2.3 examples/rails_openid/config/routes.rb
ruby-openid-2.2.2 examples/rails_openid/config/routes.rb
ruby-openid-2.2.1 examples/rails_openid/config/routes.rb
ruby-openid-2.2.0 examples/rails_openid/config/routes.rb
entp-ruby-openid-2.2 examples/rails_openid/config/routes.rb
nov-ruby-openid-2.1.9 examples/rails_openid/config/routes.rb
ruby-openid-2.1.8 examples/rails_openid/config/routes.rb
pelle-ruby-openid-2.1.9 examples/rails_openid/config/routes.rb
ruby-openid-2.1.7 examples/rails_openid/config/routes.rb
ruby-openid-2.0.1 examples/rails_openid/config/routes.rb
ruby-openid-2.0.2 examples/rails_openid/config/routes.rb
ruby-openid-2.1.5 examples/rails_openid/config/routes.rb
ruby-openid-2.0.4 examples/rails_openid/config/routes.rb
ruby-openid-2.1.4 examples/rails_openid/config/routes.rb
ruby-openid-2.1.2 examples/rails_openid/config/routes.rb
ruby-openid-2.1.6 examples/rails_openid/config/routes.rb
ruby-openid-2.0.3 examples/rails_openid/config/routes.rb