wrong tag type

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@140 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-05 03:55:52 +00:00
parent 743a614a3a
commit a66dab3222
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class BreweriesController < ApplicationController
:order => 'breweries.title ASC', :per_page => per_page :order => 'breweries.title ASC', :per_page => per_page
flash.now[:notice] = 'There are no breweries yet.' if @breweries.empty? flash.now[:notice] = 'There are no breweries yet.' if @breweries.empty?
@tags = Page.tags(:limit => 25, :order => "name DESC", @tags = Page.tags(:limit => 25, :order => "name DESC",
:owner_type => 'Beer') :owner_type => 'Brewery')
end end
format.rss do format.rss do
@breweries = Brewery.find :all, :order => 'breweries.created_at DESC', @breweries = Brewery.find :all, :order => 'breweries.created_at DESC',