mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
ActionView 7.0 compat
when '/' suffixed views_prefix is given in Rails 7.0, kaminari fails to find the partial and raises ActionView::MissingTemplate: Missing partial alternative//kaminari/_paginator
This commit is contained in:
parent
8e1e2c45ce
commit
359eea9cc8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ module Kaminari
|
|||
"kaminari",
|
||||
@theme,
|
||||
self.class.name.demodulize.underscore
|
||||
].compact.join("/")
|
||||
].compact.join("/").gsub('//', '/')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue