diff options
| author | Adam Vandenberg | 2010-07-18 14:21:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:50 -0700 |
| commit | 689fa7f5b5ea46d5f6270a87d590789bdec763ec (patch) | |
| tree | a22503337d5268fe8b499506d3c4d53ec5862083 /Library | |
| parent | 1f357845142dd2798e93f6178acb0d55ea56d644 (diff) | |
| download | homebrew-689fa7f5b5ea46d5f6270a87d590789bdec763ec.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." |
