Rails.application.routes.draw do

  scope :module => 'federated_rails' do
    get '/login', :to => 'auth#login', :as => :login
    get '/logout', :to => 'auth#logout', :as => :logout
    get '/loginerror', :to => 'auth#unauthenticated'
    get '/auth/federation', :to => 'auth#federation_login'
    get '/auth/development', :to => 'auth#development_login'
  end

end

Rails.application.routes.draw do

  scope :module => 'federated_rails' do
    get '/login', :to => 'auth#login', :as => :login
    get '/logout', :to => 'auth#logout', :as => :logout
    get '/loginerror', :to => 'auth#unauthenticated'
    get '/auth/federation', :to => 'auth#federation_login'
    post '/auth/development', :to => 'auth#development_login'
  end

end

Fix routing for /auth/development which should have been POST
Fix routing for /auth/development which should have been POST
