Reputation: 11764
I am reviewing the Activator websockets template and there is the following view:
@(message: String)(implicit request: RequestHeader)
@import helper._
@main("Websocket Stateless DEMO") {
where is this 'helper' import coming from?
thanks
Upvotes: 0
Views: 172
Reputation: 14401
If you look at Rendering an <input> element
section in the documentation, you'll find out that all helpers are placed at the views.html.helper
package. Since the view you mentioned is located in the views.html
package the import can be relatively shorter.
Upvotes: 1