mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
re: RuboCop: Bulk minor style corrections
This commit is contained in:
@@ -74,7 +74,7 @@ module ActionController
|
||||
end
|
||||
|
||||
def update_and_render_object_with_cache_enabled
|
||||
@post.updated_at = Time.now
|
||||
@post.updated_at = Time.zone.now
|
||||
|
||||
generate_cached_serializer(@post)
|
||||
render json: @post
|
||||
|
||||
Reference in New Issue
Block a user