Permalink
Browse files

default

  • Loading branch information...
1 parent a5e5b93 commit 6a32ffeea8dbd159eb98cdb3cf4c6efc06fa2e59 @plukevdh plukevdh committed Jun 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/kaminari/helpers/tags.rb
@@ -16,7 +16,7 @@ class Tag
def initialize(template, options = {}) #:nodoc:
@template, @options = template, options.dup
@param_name = @options.delete(:param_name)
- @url = @options.delete(:url)
+ @url = @options.delete(:url) || Kaminari.config.url
@theme = @options[:theme] ? "#{@options.delete(:theme)}/" : ''
@params = @options[:params] ? template.params.merge(@options.delete :params) : template.params
end

0 comments on commit 6a32ffe

Please sign in to comment.