Progress
hashtag in top of tag feed, scroll to comment, chat blocking, muting, filtering
This commit is contained in:
@@ -4,8 +4,8 @@ class Api::Web::ChatSettingsController < Api::Web::BaseController
|
||||
before_action :require_user!
|
||||
|
||||
def update
|
||||
setting.data = params[:data]
|
||||
setting.save!
|
||||
# setting.data = params[:data]
|
||||
# setting.save!
|
||||
|
||||
# todo validate all data objects
|
||||
|
||||
@@ -15,6 +15,6 @@ class Api::Web::ChatSettingsController < Api::Web::BaseController
|
||||
private
|
||||
|
||||
def setting
|
||||
@_setting ||= ::Web::Setting.where(user: current_user).first_or_initialize(user: current_user)
|
||||
# @_setting ||= ::Web::Setting.where(user: current_user).first_or_initialize(user: current_user)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user