Fix Issue 59: Allow for Multiple Themes & Update README
This commit is contained in:
parent
f175e36ac8
commit
66fb67cd06
|
@ -160,9 +160,9 @@ Kaminari includes a handy template generator.
|
|||
|
||||
To utilize multiple themes from within a single application, create a directory within the app/views/kaminari/ and move your custom template files into that directory.
|
||||
rails g kaminari:views default (skip if you have existing kaminari views)
|
||||
cd app/views/kaminari
|
||||
mkdir my_custom_theme
|
||||
cp _*.html.* my_custom_theme/
|
||||
cd app/views/kaminari
|
||||
mkdir my_custom_theme
|
||||
cp _*.html.* my_custom_theme/
|
||||
|
||||
Next reference that directory when calling the paginate method:
|
||||
|
||||
|
|
Loading…
Reference in New Issue