Add tour and other improvements (#348)

* Add tour
* Add instructions to set password for OAuth users
* Tenant signup improvement
* Fix bug on user soft delete
* Slighlty darken background color
* Add a stronger confirmation for board deletion
This commit is contained in:
Riccardo Graziosi
2024-05-21 19:10:18 +02:00
committed by GitHub
parent 57ecddb035
commit f0346a73ec
32 changed files with 473 additions and 55 deletions

View File

@@ -9,6 +9,15 @@ class ApplicationController < ActionController::Base
before_action :configure_permitted_parameters, if: :devise_controller?
prepend_before_action :load_tenant_data
# Override Devise after sign in path
def after_sign_in_path_for(resource)
if resource.admin? && resource.sign_in_count == 1
root_path(tour: true)
else
super
end
end
protected
def configure_permitted_parameters