mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 18:29:54 +08:00
12 lines
125 B
Ruby
12 lines
125 B
Ruby
module RouteFormat
|
|
|
|
def self.username
|
|
/[\w.\-]+?/
|
|
end
|
|
|
|
def self.backup
|
|
/.+\.(sql\.gz|tar\.gz|tgz)/i
|
|
end
|
|
|
|
end
|