Sha256: 5cc06700059470a4b8db30f4716aab650ce03add4318ee206afce9c2291f6eed
Contents?: true
Size: 300 Bytes
Versions: 38
Compression:
Stored size: 300 Bytes
Contents
# frozen_string_literal: true module Thredded class ReadStatesController < Thredded::ApplicationController before_action :thredded_require_login! def update Thredded::MarkAllRead.run(thredded_current_user) if thredded_signed_in? redirect_to request.referer end end end
Version data entries
38 entries across 38 versions & 2 rubygems