mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
"NameError: uninitialized constant Kaminari::ActionView::LogSubscriber"
This commit is contained in:
parent
70071d2a81
commit
5bfafb08b7
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ module Kaminari
|
|||
undef :to_s
|
||||
# Redefining to_s not to log each render_partial
|
||||
def to_s #:nodoc:
|
||||
subscriber = ActionView::LogSubscriber.log_subscribers.detect {|ls| ls.is_a? ActionView::LogSubscriber}
|
||||
subscriber = ::ActionView::LogSubscriber.log_subscribers.detect {|ls| ls.is_a? ::ActionView::LogSubscriber}
|
||||
|
||||
# There is a logging subscriber
|
||||
# and we don't want it to log render_partial
|
||||
|
|
Loading…
Reference in a new issue