diff options
author | Logan Fick <logaldeveloper@protonmail.com> | 2017-11-03 19:29:21 -0400 |
---|---|---|
committer | Logan Fick <logaldeveloper@protonmail.com> | 2017-11-03 19:29:21 -0400 |
commit | 8fbbe1b1a53ca660996d5518b67e68409e35a16d (patch) | |
tree | 0a7bf7711af7d051d87fe42f175d2bd88c15fb70 | |
parent | 52e32808b5b0f1550c3cb3a5f6082dbaabd2ae60 (diff) |
Removed caching from user profile pages.
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index f6d9a71..66b07fd 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -6,8 +6,6 @@ class UsersController < ApplicationController before_filter :set_user, except: [:index, :new, :create, :lost_password, :reset_password, :suggestions] - caches_action :show, expires_in: 10.seconds, layout: false - def index role = Role.find_by(name: params[:role]) badge = Badge.find_by(name: params[:badge]) |