Module: TheComments::ViewToken

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/the_comments/view_token.rb

Overview

Cookies and View token for spam protection include TheComments::ViewToken

Instance Method Summary collapse

Instance Method Details

#comments_view_tokenObject



9
10
11
# File 'app/controllers/concerns/the_comments/view_token.rb', line 9

def comments_view_token
  cookies[:comments_view_token]
end