Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require doesnt work in routes defined on a separate file. #767

Closed
joshkamau opened this issue May 10, 2017 · 0 comments
Closed

Require doesnt work in routes defined on a separate file. #767

joshkamau opened this issue May 10, 2017 · 0 comments
Labels
Milestone

Comments

@joshkamau
Copy link

If you define script routes on a file e.g MyRoutes.java and then use the file using use(new MyRoutes()) Its is not possible to use require(MyService.class)

@jknack jknack added the bug label May 11, 2017
@jknack jknack added this to the 1.1.2 milestone May 11, 2017
@jknack jknack closed this as completed in 2061491 May 21, 2017
jknack added a commit that referenced this issue May 21, 2017
Require doesnt work in routes defined on a separate file. fix #767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants