mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-04 09:35:14 -07:00
fixed a bug with mock paginate tag
This commit is contained in:
@@ -10,7 +10,6 @@ require 'rubygems'
|
||||
require 'active_support'
|
||||
require 'yaml'
|
||||
require 'digest/md5'
|
||||
|
||||
require 'shopify/liquid'
|
||||
require 'shopify/database.rb'
|
||||
|
||||
@@ -70,8 +69,6 @@ class ThemeProfiler
|
||||
content_for_layout
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -41,4 +41,5 @@ end
|
||||
|
||||
if __FILE__ == $0
|
||||
p Database.tables['collections']['frontpage'].keys
|
||||
#p Database.tables['blog']['articles']
|
||||
end
|
||||
@@ -88,6 +88,6 @@ class Paginate < Liquid::Block
|
||||
end
|
||||
|
||||
def current_url
|
||||
"/collections/#{frontpage}"
|
||||
"/collections/frontpage"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user