mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 21:43:45 +08:00
12 lines
155 B
Ruby
12 lines
155 B
Ruby
# frozen_string_literal: true
|
|
|
|
module RouteFormat
|
|
def self.username
|
|
/[%\w.\-]+?/
|
|
end
|
|
|
|
def self.backup
|
|
/.+\.(sql\.gz|tar\.gz|tgz)/i
|
|
end
|
|
end
|