Skip to content

Instantly share code, notes, and snippets.

@danielreuterwall
Last active August 29, 2015 14:13
Show Gist options
  • Save danielreuterwall/e028ed1dd942ef906bbd to your computer and use it in GitHub Desktop.
Save danielreuterwall/e028ed1dd942ef906bbd to your computer and use it in GitHub Desktop.
@With(CorsAction.class)
public class CorsController extends Controller {
public static Result cors() {
return ok("Cors enabled action");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment