1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

[skip ci] Fix spells in documentation

This commit is contained in:
Anton Davydov 2015-03-16 00:04:18 +03:00
parent 0833b00b8a
commit 3357f7f3f4
2 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ Run the following generator command, then edit the generated file.
* specifying an alternative views directory (default is <tt>kaminari/</tt>)
<%= paginate @users, :views_prefix => 'templates/' %>
This would search for partials in <tt>app/views/templates/kaminari</tt>. This option makes it easier to do things like A/B testing pagination templates/themes, using new/old templates at the same time as well as better intergration with other gems sush as {cells}[https://github.com/apotonick/cells].
This would search for partials in <tt>app/views/templates/kaminari</tt>. This option makes it easier to do things like A/B testing pagination templates/themes, using new/old templates at the same time as well as better integration with other gems sush as {cells}[https://github.com/apotonick/cells].
* the +link_to_next_page+ and +link_to_previous_page+ helper method
@ -237,7 +237,7 @@ Kaminari includes a handy template generator.
looking paginator.
% rails g kaminari:views THEME
To see the full list of avaliable themes, take a look at the themes repository,
To see the full list of available themes, take a look at the themes repository,
or just hit the generator without specifying +THEME+ argument.
% rails g kaminari:views

View file

@ -29,7 +29,7 @@ BANNER
say %Q[template_engine: #{template_engine} is not available for theme: #{file_name}]
end
else
say %Q[no such theme: #{file_name}\n avaliable themes: #{self.class.themes.map(&:name).join ", "}]
say %Q[no such theme: #{file_name}\n available themes: #{self.class.themes.map(&:name).join ", "}]
end
end