This commit is contained in:
Nicolas Bally 2013-09-18 09:45:52 +02:00
parent 87a16c6f6e
commit cd4d4f83ad
3 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class Public::PhotosController < ApplicationController
def index
@title = "Reposoir"
@photos = Photo.all
end

View File

@ -11,6 +11,7 @@ class Public::PortfoliosController < ApplicationController
def show
@portfolio = Portfolio.find_by_slug(params[:id])
@title = @portfolio.title
end

View File

@ -3,7 +3,7 @@ class Public::QuotesController < ApplicationController
def index
@title = "Reposoir"
@quotes = Quote.where(:enabled => true).all
end
@ -15,6 +15,7 @@ class Public::QuotesController < ApplicationController
def new
@title = "Reposoir"
@quote = Quote.new
end