Skip to content

Commit

Permalink
Fix the routes in the index dyna.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Jun 1, 2008
1 parent 97690f8 commit 77f469c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/dynasnips/index.rb
Expand Up @@ -4,7 +4,7 @@ class Index < Dynasnip
def get(*args)
# TODO: figure out a way around calling Soup/AR methods directly.
list = Soup.tuple_class.find_all_by_name('name').map { |tuple|
"<li>#{Routes.link_to tuple.value}</li>"
"<li>#{Vanilla::Routes.link_to tuple.value}</li>"
}
"<ol>#{list}</ol>"
end
Expand Down

0 comments on commit 77f469c

Please sign in to comment.