summaryrefslogtreecommitdiffstats
path: root/examples/view/url1/index.haml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/view/url1/index.haml')
-rw-r--r--examples/view/url1/index.haml15
1 files changed, 4 insertions, 11 deletions
diff --git a/examples/view/url1/index.haml b/examples/view/url1/index.haml
index eb52535..7bbf8be 100644
--- a/examples/view/url1/index.haml
+++ b/examples/view/url1/index.haml
@@ -1,14 +1,7 @@
-%h3='Index template'
+%h3='url1 index view'
-action.each do |k,v|
%p="#{k} => #{v}"
-%p="Css #{css.inspect}"
%p
- %a{:href=>Node1.r('index','arg1','arg2')}="Node1::index"
-%p
- %a{:href=>Node1.r('alt')}="Node1::alt"
-%p
- %a{:href=>Node2.r('index')}="Node2::index"
-%p
- %a{:href=>Node2.r('alt')}="Node2::alt"
-%p
- %a{:href=>Node1.r('pour', 'voir')}="nowhere"
+ - @links.each do |href,name|
+ %a{:href=>href}=name
+ %br