summaryrefslogtreecommitdiffstats
path: root/examples/view/url1/alt.haml
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-17 08:44:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-17 08:44:41 +0200
commita190b0c594a5636506984bb30da1f06fe64513cc (patch)
tree5ec70bb15888d2d48b830c270e016103c72ab5c5 /examples/view/url1/alt.haml
parent2c9a2b8f5d22f8e9cbfbfd2894fc5cfe730f9a41 (diff)
downloadzorglub-a190b0c594a5636506984bb30da1f06fe64513cc.zip
zorglub-a190b0c594a5636506984bb30da1f06fe64513cc.tar.gz
update examples/**/*
Diffstat (limited to 'examples/view/url1/alt.haml')
-rw-r--r--examples/view/url1/alt.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/view/url1/alt.haml b/examples/view/url1/alt.haml
new file mode 100644
index 0000000..ca990e4
--- /dev/null
+++ b/examples/view/url1/alt.haml
@@ -0,0 +1,14 @@
+%h3='Alt template'
+-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"