From 8553c371a50be117af5eb644b37dd713ab3eab74 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 28 Jun 2015 15:03:30 +0200 Subject: [PATCH] fix titles --- .Gemfile.swp | Bin 12288 -> 0 bytes app/controllers/books_controller.rb | 2 ++ 2 files changed, 2 insertions(+) delete mode 100644 .Gemfile.swp diff --git a/.Gemfile.swp b/.Gemfile.swp deleted file mode 100644 index e0ef2c93177905c15c12223f63d804636f19c76f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2-D)I76vt}?!Cj4tzQEC8>6=YYzGRod4I~Rn7NU~bEP@xIy8FybC*570s_Kjb zvg!k9@Wxwx0=;s*^aEeO7f|$0FVyu;LGWMwF`MkNva(l!3jArhs?Mo%esxa4kdBsa zZf(=$a82OvSs`xze!TnDTaSw`ZVQofWjS*b|NWQnQJ5B%bs@8`F$xQ|_Zi)4=K4le zI%d<4RCQRTg;~@}_h03FlxBRNkst5`Jb_0iP}$Mql?Ac7vb^M+^OasIpzzd-K)|K0EZpPv!pC+J(~Gw2xl5c&YxhOR(QKz~0i z#E;N-&_~b_^a>O}KP(9GC3G7)hTefLKz}_Y#OKh*(3{X2vi$oBO zIj6vsIxWV5XotGz$tj{94eMoOO6J5+RT94Dl5UY0$Bf@SmjgV!+ zWu|8Cgy!z5B8`JYPcL;?rb+=n;!8t(#~ii z&7MKZn)ga+%v5RoUTDfIQE_X%6t3Z{PQGOme{mIsXF<3XJ&02Hhxh}6Mt zys<@C3xHVBN2X!3!+uny8HU?k>U!wWrW>T|!`ELU7#f-LlQ{uwp%HYoI;7{d%lB zyzBBv4r85`7GXqM>e>7d(RjLwW?IHIrZSTj^^qGCksF7*A@hTK&{gxk>1niU&UIzE zrX^FArP7uY*W)(L*)*ZXYBXY=m#b^iH53low5`&5z75sYDcapxAQ8jXb#T&lVO>Gh zI7>%qbH3|WX*pcI>uR^1a}022lo~ex96F~ba5R3K;0#_)h4#{2Z^LWDVQp*dEMqfa zMAKRwW~t@XE(6oNcH|RjWrWhIZJV~h-G)9(8tblcgSBuaTyah|+oDg#OgrwLL(QNz zWHO*S=gy+J4hIy}1I?8f;I8l0t0JYWyBo^IX_{r|ym4BfU4mxUd&U}*9Bbmeyvl64 dhbyvRG%>DI_-wwmr=YuuU14As6Dp1S?_d6!T5$jX diff --git a/app/controllers/books_controller.rb b/app/controllers/books_controller.rb index 4b7aae8..a4a694f 100644 --- a/app/controllers/books_controller.rb +++ b/app/controllers/books_controller.rb @@ -2,10 +2,12 @@ class BooksController < ApplicationController def show @book = Book.find(params[:id]) + @title = @book.title end def index @books = Book.paginate(page: params[:page]) + @title = "Books" end end