Class: Spree::ContentController

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

Instance Method Summary collapse

Methods inherited from StoreController

#unauthorized

Instance Method Details

#cvvObject



17
18
19
# File 'app/controllers/spree/content_controller.rb', line 17

def cvv
  render :layout => false
end

#fire_visited_actionObject



25
26
27
# File 'app/controllers/spree/content_controller.rb', line 25

def fire_visited_action
  fire_event('spree.content.visited', :path => "content/#{params[:action]}")
end

#fire_visited_pathObject



21
22
23
# File 'app/controllers/spree/content_controller.rb', line 21

def fire_visited_path
  fire_event('spree.content.visited', :path => "content/#{params[:path]}")
end

#showObject



13
14
15
# File 'app/controllers/spree/content_controller.rb', line 13

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