templates/app/controllers/application_controller.rb in cybele-0.6.0 vs templates/app/controllers/application_controller.rb in cybele-0.7.0

- old
+ new

@@ -5,6 +5,14 @@ respond_to :html, :json # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception + + def after_sign_in_path_for(resource_or_scope) + if current_user + super + else + hq_dashboard_index_path + end + end end \ No newline at end of file