mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Preserve source location of the tag helpers
This commit is contained in:
parent
7a4dbeb7df
commit
2ddb2563ed
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module Kaminari
|
|||
end
|
||||
|
||||
%w[first_page prev_page next_page last_page gap].each do |tag|
|
||||
eval <<-DEF
|
||||
eval <<-DEF, nil, __FILE__, __LINE__ + 1
|
||||
def #{tag}_tag
|
||||
@last = #{tag.classify}.new @template, @options
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue