Class: MinimumViableProduct::AnalyticsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- MinimumViableProduct::AnalyticsController
- Defined in:
- app/controllers/minimum_viable_product/analytics_controller.rb
Instance Method Summary collapse
Instance Method Details
#optout ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/controllers/minimum_viable_product/analytics_controller.rb', line 3 def optout [AnalyticsConcern::INVISIBLE_SESSION_COOKIE] = { :value => true, :expires => 1.year.from_now, } redirect_to root_path end |