Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

[FIX] Add docs about searches support with # and @ in REST /spotlight endpoint#682

Merged
MartinSchoeler merged 5 commits intomasterfrom
fix-rest-spotlight
Apr 26, 2018
Merged

[FIX] Add docs about searches support with # and @ in REST /spotlight endpoint#682
MartinSchoeler merged 5 commits intomasterfrom
fix-rest-spotlight

Conversation

@MarcosSpessatto
Copy link

Add docs about searches support with # and @ in REST /spotlight endpoint.
Waiting PR.

Add docs about searches support with # and @ in REST /spotlight endpoint
Copy link
Contributor

@graywolf336 graywolf336 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A redirect is needed for the old url to the new one.

Add redirect for the old page to the new one
Copy link
Contributor

@graywolf336 graywolf336 Apr 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MartinSchoeler how can we do an automatic redirect? That way this file can be deleted and old links to it point to the new location? We used to have a way to do this but with the new system I am unsure how to.

Does this still work? https://github.com/RocketChat/docs/blob/master/redirects.json

Copy link
Member

@MartinSchoeler MartinSchoeler Apr 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@graywolf336 You can do this by adding the redirect_from font matter. Here is an example. Just add the link you want to be redirected to that page.

Add redirect to correct dir spotlight
@MartinSchoeler
Copy link
Member

@MarcosSpessatto could you resolve the conflicts?

Merge branch 'master' into fix-rest-spotlight
@MartinSchoeler MartinSchoeler dismissed graywolf336’s stale review April 26, 2018 12:59

Redirects were added.

@MartinSchoeler MartinSchoeler merged commit 82fe43a into master Apr 26, 2018
@MartinSchoeler MartinSchoeler deleted the fix-rest-spotlight branch April 26, 2018 13:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments