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 21:53:48 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
b87fa6d749
discourse
/
spec
/
fabricators
/
permalink_fabricator.rb
4 lines
77 B
Ruby
Raw
Normal View
History
Unescape
Escape
FEATURE: add a way to map arbitrary urls to a topic, post, or category. Useful for sites that have migrated to Discourse and want to redirect from their old site to Discourse with 301 redirects.
2014-08-29 03:09:36 +08:00
Fabricator
(
:permalink
)
do
Add rubocop to our build. (#5004)
2017-07-28 09:20:09 +08:00
url
{
sequence
(
:url
)
{
|
i
|
"
my/
#{
i
}
/url
"
}
}
Don't blow up if Redis switches to READONLY
2015-04-25 01:10:43 +08:00
end
Reference in New Issue
Copy Permalink