Methods
Instance Public methods
optedout() Link
Source: show
# File engines/member/app/controllers/member/notifications_controller.rb, line 16 def optedout render "optedout_already" if params[:result] == "already" end
optout() Link
Source: show
# File engines/member/app/controllers/member/notifications_controller.rb, line 6 def optout current_member.disable_new_content_notifications! if opted_out? redirect_to current_site.widget_url(notifications_optedout_path) else redirect_to current_site.widget_url(notifications_optedout_path(result: :already)) end end