Here are the details of the changes needed when upgrading between major versions of this gem.
Definitely change the following:
- Replace references to
RpiAuth::AuthenticationHelperwithRpiAuth::Controllers::CurrentUser. - Change
extend RpiAuth::Models::Authenticatabletoinclude RpiAuth::Models::Authenticatable.
You might also need to;
- Remove dummy
loginroute in/config/routes.rb, and replace references tologin_pathwithrpi_auth_login_path. - Change the railties order if your app uses globbed/catch-all routes