Class: Spree::ContentController

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

Instance Method Summary collapse

Methods inherited from StoreController

#unauthorized

Methods included from Spree::Core::ControllerHelpers::Order

#associate_user, #current_currency, #current_order, included, #ip_address, #set_current_order

Methods included from Spree::Core::ControllerHelpers::Common

included

Methods included from Spree::Core::ControllerHelpers::Auth

#current_ability, included, #redirect_back_or_default, #store_location, #try_spree_current_user, #unauthorized

Instance Method Details

#cvvObject



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

def cvv
  respond_with do |format|
    format.html { render :layout => false }
  end
end

#showObject



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

def show
  respond_with do |format|
    format.html { render :action => params[:path] }
  end
end