mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
a7bc1ecbae
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
12 lines
126 B
Ruby
12 lines
126 B
Ruby
module RouteFormat
|
|
|
|
def self.username
|
|
/[%\w.\-]+?/
|
|
end
|
|
|
|
def self.backup
|
|
/.+\.(sql\.gz|tar\.gz|tgz)/i
|
|
end
|
|
|
|
end
|