Module: TheComments::ViewToken

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#comments_view_tokenObject



11
12
13
# File 'app/controllers/concerns/controller.rb', line 11

def comments_view_token
  cookies[:comments_view_token]
end