title
This commit is contained in:
parent
87a16c6f6e
commit
cd4d4f83ad
@ -3,7 +3,7 @@ class Public::PhotosController < ApplicationController
|
||||
|
||||
|
||||
def index
|
||||
|
||||
@title = "Reposoir"
|
||||
@photos = Photo.all
|
||||
end
|
||||
|
||||
|
@ -11,6 +11,7 @@ class Public::PortfoliosController < ApplicationController
|
||||
|
||||
def show
|
||||
@portfolio = Portfolio.find_by_slug(params[:id])
|
||||
@title = @portfolio.title
|
||||
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user