Class: UUCounter::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- UUCounter::ApplicationController
- Defined in:
- app/controllers/uu_counter/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#fill_cookie ⇒ Object
6 7 8 |
# File 'app/controllers/uu_counter/application_controller.rb', line 6 def unless end |
#get_cookie ⇒ Object
10 11 12 |
# File 'app/controllers/uu_counter/application_controller.rb', line 10 def [:uu_counter_token] end |
#get_fullpath ⇒ Object
14 15 16 |
# File 'app/controllers/uu_counter/application_controller.rb', line 14 def get_fullpath request.fullpath end |
#set_cookie ⇒ Object
18 19 20 |
# File 'app/controllers/uu_counter/application_controller.rb', line 18 def .permanent[:uu_counter_token] = SecureRandom.hex(12) end |