impress/app/controllers/closet_hangers_controller.rb
2011-07-14 13:56:20 -04:00

7 lines
201 B
Ruby

class ClosetHangersController < ApplicationController
def index
@user = User.find params[:user_id]
@closet_hangers = @user.closet_hangers.alphabetical_by_item_name.includes(:item)
end
end