mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
ES6 module migrations
This commit is contained in:
@ -107,6 +107,7 @@ module Tilt
|
||||
# HAX
|
||||
result = "Controller" if result == "ControllerController"
|
||||
result = "Route" if result == "DiscourseRoute"
|
||||
result = "View" if result == "ViewView"
|
||||
result.gsub!(/Mixin$/, '')
|
||||
result.gsub!(/Model$/, '')
|
||||
|
||||
|
Reference in New Issue
Block a user