mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 17:43:39 +08:00
Merge pull request #1139 from stephankaag/correct_image_url_rails4
No need to include all ActionView::Helpers in Topic
This commit is contained in:
commit
ca7c10df9a
|
@ -7,7 +7,7 @@ require_dependency 'text_cleaner'
|
|||
require_dependency 'trashable'
|
||||
|
||||
class Topic < ActiveRecord::Base
|
||||
include ActionView::Helpers
|
||||
include ActionView::Helpers::SanitizeHelper
|
||||
include RateLimiter::OnCreateRecord
|
||||
include Trashable
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user