Sha256: 9b6e81a6b4fb8d740c0e060c9e740020e74059cc0ec12dbcdcb759e54fa194f7

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module Harpiya
  class ContentController < Harpiya::StoreController
    # Don't serve local files or static assets
    after_action :fire_visited_path, except: :cvv

    respond_to :html

    def test; end

    def cvv
      render layout: false
    end

    def fire_visited_path
      Harpiya::PromotionHandler::Page.new(current_order, params[:action]).activate
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harpiya_frontend-4.3.0.alpha app/controllers/harpiya/content_controller.rb