Sha256: 96aa4844860c18a8123c5bcd2ad8eac3f4d77b4069f32b682bde899647aca63a
Contents?: true
Size: 683 Bytes
Versions: 4
Compression:
Stored size: 683 Bytes
Contents
%html %head %title= "Template::Haml internal" %body %h1= @title = link( R(:/), :title => 'Home') %p = "Here you can pass some stuff if you like, parameters are just passed like this:" %br/ = link( R(self, @action, :one), :title => "#@action/one") %br/ = link( R(self, @action, :one, :two, :three), :title => "#@action/one/two/three") %br/ = link( R(self, @action, :one, :foo => :bar), :title => "#@action/one?foo=bar") %div= "The arguments you have passed to this action are:" - if @args.empty? = "none" - else - @args.each do |arg| %span= arg %div= request.params.inspect
Version data entries
4 entries across 4 versions & 1 rubygems