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
commit689fa7f5b5ea46d5f6270a87d590789bdec763ec (patch)
treea22503337d5268fe8b499506d3c4d53ec5862083 /Library
parent1f357845142dd2798e93f6178acb0d55ea56d644 (diff)
downloadhomebrew-689fa7f5b5ea46d5f6270a87d590789bdec763ec.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."