title
This commit is contained in:
parent
87a16c6f6e
commit
cd4d4f83ad
@ -3,7 +3,7 @@ class Public::PhotosController < ApplicationController
|
|||||||
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
@title = "Reposoir"
|
||||||
@photos = Photo.all
|
@photos = Photo.all
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user