summaryrefslogtreecommitdiffstats
path: root/examples/view
diff options
context:
space:
mode:
Diffstat (limited to 'examples/view')
-rw-r--r--examples/view/url1/index.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/view/url1/index.haml b/examples/view/url1/index.haml
new file mode 100644
index 0000000..577e342
--- /dev/null
+++ b/examples/view/url1/index.haml
@@ -0,0 +1,11 @@
+%h3='My content'
+-action.each do |k,v|
+ %p="#{k} => #{v}"
+%p
+ %a{:href=>Node1.r('alt')}="alternative"
+%p
+ %a{:href=>Node2.r('index')}="Node2::index"
+%p
+ %a{:href=>Node2.r('alt')}="Node2::alt"
+%p
+ %a{:href=>Node1.r('pour', 'voir')}="nowhere"