Remove useless tag controllers and models
This commit is contained in:
1 parent
49d0d83810
commit
41dadfb4e9
29 files changed
-253
No files matched your search
-8
@@ -1,8 +0,0 @@
|
||||
class Panel::Faq::BackEnd::TagsController < Admin::TagsController
|
||||
|
||||
def initialize
|
||||
super
|
||||
@app_title = 'faq'
|
||||
end
|
||||
|
||||
end
|
||||
@@ -1,10 +0,0 @@
|
||||
class FaqTag < Tag
|
||||
|
||||
has_and_belongs_to_many :qas
|
||||
|
||||
|
||||
def get_visible_links(sort = :title)
|
||||
self.qas.where(:is_hidden => false).desc(:is_top, sort)
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user