wrong tag type
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@140 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
743a614a3a
commit
a66dab3222
|
@ -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',
|
||||||
|
|
Reference in New Issue