diff options
| author | Adam Vandenberg | 2010-07-18 14:21:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:50 -0700 |
| commit | 8a3541888711b589555e6a85105481c3376a4582 (patch) | |
| tree | 7dbd8e72724e0adb96431887609fc942e54c8622 /Library | |
| parent | c55fcc3a29fd16687efc740b7958436c875d805e (diff) | |
| download | brew-8a3541888711b589555e6a85105481c3376a4582.tar.bz2 | |
Fix brew-server
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-server | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-server b/Library/Contributions/examples/brew-server index c0d2910b1..15bd4dbb7 100755 --- a/Library/Contributions/examples/brew-server +++ b/Library/Contributions/examples/brew-server @@ -64,7 +64,7 @@ get '/' do <div class="row"> <ul> HTML - Formulary.read_all do |name, klass| + Formula.names do |name| s << "<li>#{link_to_formula(name)}</li>" end s << <<-HTML @@ -106,7 +106,6 @@ get '/search' do end get '/formula/:name' do - # klass = Formulary.read params[:name] klass = Formula.factory(params[:name]) installed = klass.installed? ? "Installed at" : "Not installed." |
