adding info controller support and view for about page
This commit is contained in:
parent
0dcb4e1946
commit
0c19601068
2 changed files with 16 additions and 0 deletions
|
@ -1,2 +1,9 @@
|
|||
class InfoController < ApplicationController
|
||||
|
||||
def about
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.xml
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
9
app/views/info/about.html.erb
Normal file
9
app/views/info/about.html.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="box">
|
||||
<div class="border" style="width:500px;padding-left:25px;padding-right:25px;text-align:left;">
|
||||
<h1 style="text-align:center;">about</h1>
|
||||
<p>this is just a simple site I use to showcase my flickr photos and uploaded screenshots
|
||||
from <a href="http://www.realmacsoftware.com/littlesnapper/">little snapper</a>.</p>
|
||||
<p>i may consider open sourcing it later, but it's not anything that someone of average
|
||||
rails ability couldn't do in a couple of hours.</p>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue