fixes #2133
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module PostSets
|
||||
class Favorite < Base
|
||||
class Favorite < PostSets::Base
|
||||
attr_reader :user, :page, :favorites, :params
|
||||
|
||||
def initialize(user_id, page = 1, params = {})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module PostSets
|
||||
class Note < Post
|
||||
class Note < PostSets::Post
|
||||
attr_reader :params
|
||||
|
||||
def initialize(params)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module PostSets
|
||||
class Pool < Base
|
||||
class Pool < PostSets::Base
|
||||
module ActiveRecordExtension
|
||||
attr_accessor :total_pages, :current_page
|
||||
end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module PostSets
|
||||
class Popular < Base
|
||||
class Popular < PostSets::Base
|
||||
attr_reader :date, :scale
|
||||
|
||||
def initialize(date, scale)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module PostSets
|
||||
class Post < Base
|
||||
class Post < PostSets::Base
|
||||
attr_reader :tag_array, :page, :per_page, :raw
|
||||
|
||||
def initialize(tags, page = 1, per_page = nil, raw = false)
|
||||
|
||||
Reference in New Issue
Block a user