Add option to configure feed items displayed in homepage
This commit is contained in:
7
app/helpers/settings.rb
Normal file
7
app/helpers/settings.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module SettingsHelper
|
||||
|
||||
def setting_for_widget(widget)
|
||||
Setting.where(key: 'feature.user.recommendations').first
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user