# File lib/kaminari/helpers/action_view_extension.rb, line 121 def rel_next_prev_link_tags(scope, options = {}) params = options.delete(:params) || {} param_name = options.delete(:param_name) || Kaminari.config.param_name output = "" output << '<link rel="next" href="' + url_for(params.merge(param_name => scope.next_page, :only_path => true)) + '"/>' if scope.next_page output << '<link rel="prev" href="' + url_for(params.merge(param_name => scope.prev_page, :only_path => true)) + '"/>' if scope.prev_page output.html_safe end