1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/closet_hangers_controller.rb

8 lines
201 B
Ruby
Raw Normal View History

2011-07-12 17:03:04 -07:00
class ClosetHangersController < ApplicationController
def index
@user = User.find params[:user_id]
@closet_hangers = @user.closet_hangers.alphabetical_by_item_name.includes(:item)
end
end