Sha256: 7278036d4b3b22dd90e0bd20a82ade2509987b3e4e95a693f66a42f80cde1b1c
Contents?: true
Size: 503 Bytes
Versions: 9
Compression:
Stored size: 503 Bytes
Contents
class HelpCenter::NotificationsController < HelpCenter::ApplicationController before_action :authenticate_user! before_action :set_support_thread def create @support_thread.toggle_subscription(current_user) redirect_to help_center.support_thread_path(@support_thread) end def show redirect_to help_center.support_thread_path(@support_thread) end private def set_support_thread @support_thread = SupportThread.friendly.find(params[:support_thread_id]) end end
Version data entries
9 entries across 9 versions & 1 rubygems