mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
12 lines
207 B
Ruby
12 lines
207 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ProblemCheck::SubfolderEndsInSlash < ProblemCheck
|
||
|
self.priority = "low"
|
||
|
|
||
|
def call
|
||
|
return no_problem if !Discourse.base_path.end_with?("/")
|
||
|
|
||
|
problem
|
||
|
end
|
||
|
end
|