Skip to content

Commit

Permalink
Everyone has premium this weekend 🥳
Browse files Browse the repository at this point in the history
  • Loading branch information
miharekar committed Nov 11, 2023
1 parent 34b5076 commit 0ed6a00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ def chart_settings
end

def premium?
premium_expires_at&.future? || supporter
visualizer_was_down_sadface || premium_expires_at&.future? || supporter
end

def visualizer_was_down_sadface
Time.current < Time.utc(2023, 11, 13)
end

def wants_fahrenheit?
Expand Down

0 comments on commit 0ed6a00

Please sign in to comment.