On Sat, Oct 9, 2010 at 7:41 AM, Anders_P wrote:
> Hello!
>
> I'm trying to create a menu. I have a controller that takes two
> attributes, like this:
>
> def category(gender, category)
> @ads = Ad.find_all_by_gender_and_category(gender,
> category).paginate(:page => params[:page])
> @title = "S
Hello!
I'm trying to create a menu. I have a controller that takes two
attributes, like this:
def category(gender, category)
@ads = Ad.find_all_by_gender_and_category(gender,
category).paginate(:page => params[:page])
@title = "Startsidan"
render 'home'
end
And in my view I have a list wit
2 matches
Mail list logo