23 lines
452 B
HTML
23 lines
452 B
HTML
|
---
|
||
|
layout: page
|
||
|
author: Claudio Maggioni
|
||
|
title: LS
|
||
|
---
|
||
|
<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 %}
|
||
|
|