README.md in gatleon-rails-0.2.0 vs README.md in gatleon-rails-0.3.0
- old
+ new
@@ -18,11 +18,11 @@
Add a profile controller
```ruby
class ProfileController < ActionController::Base
- AUTHFORM_FORM_PUBLIC_KEY = "" # Available at https://authform.gatleon.com. coming soon!
AUTHFORM_FORM_SECRET_KEY = "" # Available at https://authform.gatleon.com. coming soon!
+ AUTHFORM_FORM_PUBLIC_KEY = "" # Available at https://authform.gatleon.com. coming soon!
include Gatleon::Rails::Authform::Concern.new(public_key: AUTHFORM_FORM_PUBLIC_KEY, secret_key: AUTHFORM_FORM_SECRET_KEY)
before_action :require_login, only: [:index]