app/controllers/application_controller.rb in tawork-0.0.45 vs app/controllers/application_controller.rb in tawork-0.0.46

- old
+ new

@@ -12,6 +12,10 @@ def profiler_check if params[:profile].present? Rack::MiniProfiler.authorize_request end end + + def after_sign_in_path_for(resource_or_scope) + session.fetch 'user_return_to', '/' + end end