1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00
discourse/lib/route_format.rb

12 lines
125 B
Ruby

module RouteFormat
def self.username
/[\w.\-]+?/
end
def self.backup
/.+\.(sql\.gz|tar\.gz|tgz)/i
end
end