Skip to content

Commit

Permalink
Load Products in Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanbibat committed Jun 1, 2014
1 parent 0f9f98b commit ab39d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/products_controller.rb
@@ -1,5 +1,6 @@
class ProductsController < ApplicationController
def index
@products = Product.all
end

def show
Expand Down

0 comments on commit ab39d8b

Please sign in to comment.