Methods

StoreController

Public Instance Methods

index() click to toggle source
    # File app/controllers/store_controller.rb, line 4
 4:   def index

 5:     if params[:set_locale]

 6:       redirect_to store_path(:locale => params[:set_locale])

 7:     else

 8:       @products = Product.all

 9:       @cart = current_cart

10:     end

11:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.