maggicl
e6179c1569
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@28 a672b425-5310-4d7a-af5c-997e18724b81
28 lines
531 B
HTML
28 lines
531 B
HTML
---
|
|
layout: main
|
|
author: Claudio Maggioni
|
|
---
|
|
|
|
<section>
|
|
<h1>ls</h1>
|
|
|
|
<p>The ls command is used to list files</p>
|
|
|
|
<ul>
|
|
<li>Item 1</li>
|
|
<li>Item 2</li>
|
|
<li>Hello</li>
|
|
</ul>
|
|
|
|
{% highlight ruby linenos %}
|
|
def show
|
|
puts "Outputting a very lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong line"
|
|
@widget = Widget(params[:id])
|
|
respond_to do |format|
|
|
format.html # show.html.erb
|
|
format.json { render json: @widget }
|
|
end
|
|
end
|
|
{% endhighlight %}
|
|
|
|
</section>
|