Skip to content

Commit

Permalink
Don't disable CSRF tags when static cache is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
elektronaut committed Nov 21, 2023
1 parent 641b296 commit 439aeea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def disable_static_cache!
end

def static_cached?
@static_cached ? true : false
!@static_cache_disabled && @static_cached ? true : false
end

private
Expand Down

0 comments on commit 439aeea

Please sign in to comment.