aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-18 14:21:47 -0700
committerAdam Vandenberg2010-08-07 18:08:50 -0700
commit8a3541888711b589555e6a85105481c3376a4582 (patch)
tree7dbd8e72724e0adb96431887609fc942e54c8622 /Library
parentc55fcc3a29fd16687efc740b7958436c875d805e (diff)
downloadbrew-8a3541888711b589555e6a85105481c3376a4582.tar.bz2
Fix brew-server
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-server3
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."