summaryrefslogtreecommitdiffstats
path: root/examples/view/url1/alt.haml
blob: ca990e412681283c7c3ea70673bcce19c08f0ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"