about summary refs log tree commit diff
path: root/app/controllers/concerns
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-06-05 14:02:59 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-06-05 14:02:59 +0200
commitcac9110533374d5d508b62ab5d35136e859b944c (patch)
tree2e4498816885fcfe1cf651d5459fef3d60fba40b /app/controllers/concerns
parent7fa23ec697e9e2c5f0434b9682de7017133df8dc (diff)
Cleanup various controllers (#10972)
* Remove skip_session! as it is not supported in Rails 5

* Minor cleanup in StreamEntriesController

* Remove redundant mark_cacheable! calls
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r--app/controllers/concerns/account_controller_concern.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/concerns/account_controller_concern.rb b/app/controllers/concerns/account_controller_concern.rb
index 4f28941ae..1c422096c 100644
--- a/app/controllers/concerns/account_controller_concern.rb
+++ b/app/controllers/concerns/account_controller_concern.rb
@@ -70,7 +70,6 @@ module AccountControllerConcern
 
   def check_account_suspension
     if @account.suspended?
-      skip_session!
       expires_in(3.minutes, public: true)
       gone
     end