FIX: Remove tag plugin code from tag hashtag check.

This commit is contained in:
Guo Xiang Tan
2016-08-02 10:54:32 +08:00
parent 3f4f1ee032
commit bf683178a8
4 changed files with 27 additions and 3 deletions

View File

@@ -34,6 +34,10 @@ class Tag < ActiveRecord::Base
def self.include_tags?
SiteSetting.tagging_enabled && SiteSetting.show_filter_by_tag
end
def full_url
"#{Discourse.base_url}/tags/#{self.name}"
end
end
# == Schema Information