Skip to content

Commit

Permalink
Remove typo and accidentally left in class variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
eee-c committed Jun 8, 2009
1 parent 1a1c3d7 commit 058677e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helpers.rb
Expand Up @@ -34,7 +34,6 @@ def kid_nicknames
end

def _db
@@db
self.class.send(:class_variable_get, "@@db")
end

Expand Down Expand Up @@ -150,7 +149,7 @@ def breadcrumbs(date, context=nil)
if context == :year
crumbs << %Q|<span>#{date.year}</span>|
else
crumbs << %Q|<a href="/meals/#{date.year}">#{date.year}</span>|
crumbs << %Q|<a href="/meals/#{date.year}">#{date.year}</a>|
end

if context == :month
Expand Down

0 comments on commit 058677e

Please sign in to comment.