Class: Spree::ContentController

Inherits:
StoreController show all
Defined in:
app/controllers/spree/content_controller.rb

Instance Method Summary collapse

Methods inherited from StoreController

#cart_link, #unauthorized

Instance Method Details

#cvvObject



15
16
17
# File 'app/controllers/spree/content_controller.rb', line 15

def cvv
  render :layout => false
end

#fire_visited_pathObject



19
20
21
# File 'app/controllers/spree/content_controller.rb', line 19

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

#showObject



11
12
13
# File 'app/controllers/spree/content_controller.rb', line 11

def show
  render :action => params[:path]
end