This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
discourse
Watch
2
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-11-27 01:53:40 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
56f6065393
discourse
/
lib
/
route_format.rb
12 lines
126 B
Ruby
Raw
Normal View
History
Unescape
Escape
FIX: `RouteFormat` is a better class name than `RouteFormats`
2017-12-22 04:30:32 +08:00
module
RouteFormat
Allow extensibility on username route format (non-english usernames)
2017-12-22 03:31:28 +08:00
def
self
.
username
FEATURE: Add support for Unicode usernames and group names Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2019-04-23 18:22:47 +08:00
/
[%
\
w.
\
-]+?
/
Allow extensibility on username route format (non-english usernames)
2017-12-22 03:31:28 +08:00
end
def
self
.
backup
/
.+
\
.(sql
\
.gz|tar
\
.gz|tgz)
/i
end
end
Reference in New Issue
Copy Permalink