test/dummy/app/controllers/users_controller.rb in watarase-0.0.2 vs test/dummy/app/controllers/users_controller.rb in watarase-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
class UsersController < ApplicationController
- image_loadable :user
+ image_loadable :user, caches: true, expire_actions: [:update]
before_action :set_user, only: [:show, :edit, :update, :destroy]
# GET /users
# GET /users.json