Update:
To reverse-route to an action in a plugin controller you need to provide the correct, full path to the plugin's routes
class.
Redirect(securesocial.controllers.routes.LoginPage.login)
Original Answer
For reverse-routing I don't think it matters where the Controller
is since Play is building that when the project compiles. From the documentation:
For each controller used in the routes file, the router will generate a ‘reverse controller’ in the
routes
package, having the same action methods, with the same signature, but returning aplay.api.mvc.Call
instead of aplay.api.mvc.Action
.
So this should work just as if LoginPage
was a controller directly in your app.
Redirect(routes.LoginPage.login);