Skip to content

Commit

Permalink
Fix AppSettings caching
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonMatthes committed Mar 16, 2019
1 parent a3662f3 commit dde1add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/app_setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def refresh_instance
end

def self.instance
@instance = find(1) if @instance.nil
@instance = find(1) if @instance.nil?
@instance
end

Expand Down

0 comments on commit dde1add

Please sign in to comment.