diff options
Diffstat (limited to 'example/view/url1')
-rw-r--r-- | example/view/url1/index.haml | 7 | ||||
-rw-r--r-- | example/view/url1/meth0.haml | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/example/view/url1/index.haml b/example/view/url1/index.haml new file mode 100644 index 0000000..7bbf8be --- /dev/null +++ b/example/view/url1/index.haml @@ -0,0 +1,7 @@ +%h3='url1 index view' +-action.each do |k,v| + %p="#{k} => #{v}" +%p + - @links.each do |href,name| + %a{:href=>href}=name + %br diff --git a/example/view/url1/meth0.haml b/example/view/url1/meth0.haml new file mode 100644 index 0000000..89a7ab9 --- /dev/null +++ b/example/view/url1/meth0.haml @@ -0,0 +1,7 @@ +%h3='url1 meth0 view' +-action.each do |k,v| + %p="#{k} => #{v}" +%p + - @links.each do |href,name| + %a{:href=>href}=name + %br |