scotdalton / authpds

MIT License
2 stars 1 forks source link

Logout_url wrong number of arguments in most up to date gem #2

Closed barnabyalter closed 11 years ago

barnabyalter commented 11 years ago

Haven't been able to troubleshoot this more in depth yet, but the UserSessions#destory is throwing an error on user logout (happening in webdev3/getit and webdev3/umbra, but these are the only apps using the most up-to-date gem I believe). It might be a ruby/rails versioning thing.

Exact error is

ArgumentError (wrong number of arguments (1 for 0)):
  authpds-nyu (0.2.4) lib/authpds-nyu/session/url_handling.rb:4:in `logout_url'
  authpds (0.2.4) lib/authpds/controllers/authpds_sessions_controller.rb:22:in `destroy'
scotdalton commented 11 years ago

Actually an issue in authpds-nyu related to a refactor in November. Resolved by this pull request.