Fix Issue 59: Allow for Multiple Themes & Update README

This commit is contained in:
Tom Milewski 2011-03-24 12:11:12 -04:00 committed by Akira Matsuda
parent f175e36ac8
commit 66fb67cd06
1 changed files with 3 additions and 3 deletions

View File

@ -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: