summaryrefslogtreecommitdiffstats
path: root/examples/view/url1
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-16 17:35:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-16 17:35:28 +0200
commitd5265bb9ae3cd188b72573b34e908c35c74903f9 (patch)
treed80c4dca6ff3fbf415d8e59b8ba662e40fca3d87 /examples/view/url1
parent2fde112c0033ec57bb7f5d7830f6e31021afd740 (diff)
downloadzorglub-d5265bb9ae3cd188b72573b34e908c35c74903f9.zip
zorglub-d5265bb9ae3cd188b72573b34e908c35c74903f9.tar.gz
add example haml files
Diffstat (limited to 'examples/view/url1')
-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"