All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skinny.view.velocity.VelocityViewConfig.scala Maven / Gradle / Ivy

package skinny.view.velocity

import javax.servlet.ServletContext
import org.apache.velocity.tools.view.VelocityView

/**
 * VelocityView configuration factory.
 */
object VelocityViewConfig {

  def viewWithServletContext(ctx: ServletContext, sbtProjectPath: Option[String] = None): VelocityView = {
    new ScalaVelocityView(ctx, sbtProjectPath)
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy