summaryrefslogtreecommitdiffstats
path: root/examples/view/url1/alt.haml
diff options
context:
space:
mode:
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"