Skip to content

Commit

Permalink
Change the way to load custom files?? TODO: test; without this change…
Browse files Browse the repository at this point in the history
…, changing the code in development and reloading the page crashes the application
  • Loading branch information
javierm committed Apr 3, 2024
1 parent e5984c4 commit 2792072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/custom/setting.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_dependency Rails.root.join("app", "models", "setting").to_s
load Rails.root.join("app", "models", "setting.rb").to_s

class Setting
class << self
Expand Down

0 comments on commit 2792072

Please sign in to comment.