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 def index
@title = "Reposoir"
@photos = Photo.all @photos = Photo.all
end end

View File

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

View File

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