Skip to content

Instantly share code, notes, and snippets.

@astrsk-hori
Created January 8, 2016 08:02
Show Gist options
  • Save astrsk-hori/0dd4357b2b433a04c815 to your computer and use it in GitHub Desktop.
Save astrsk-hori/0dd4357b2b433a04c815 to your computer and use it in GitHub Desktop.
Play Framework 2.4でURLの末尾スラッシュに対応 ref: http://qiita.com/astrsk_hori/items/19d1263c2747579b6057
GET /*path/ controllers.Application.untrail(path: String)
public Result untrail(String path) {
return movedPermanently("/" + path);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment