Class: Thredded::ReadStatesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/thredded/read_states_controller.rb

Instance Method Summary collapse

Methods included from UrlsHelper

#delete_post_path, #edit_post_path, #edit_preferences_path, #edit_preferences_url, #post_path, #post_url, #search_path, #topic_path, #topic_url, #user_path

Instance Method Details

#updateObject



6
7
8
9
10
# File 'app/controllers/thredded/read_states_controller.rb', line 6

def update
  MarkAllRead.run(thredded_current_user) if signed_in?

  redirect_to request.referer
end