mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
ES6 module migrations
This commit is contained in:
parent
22ffcba8e6
commit
a83a19f6ce
27 changed files with 109 additions and 124 deletions
|
@ -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$/, '')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue