DeokHong Kim (a.k.a insanehong) DeokHong Kim (a.k.a insanehong) 2014-01-24
Change CSS/Js loader to routes.assets.at
@5f6aa63c460de237c992d23493713182af9095a3
app/utils/TemplateHelper.scala
--- app/utils/TemplateHelper.scala
+++ app/utils/TemplateHelper.scala
@@ -68,20 +68,6 @@
     Messages.get(_key, count.toString)
   }
 
-  def getJSLink(name: String): String = {
-    loadAssetsLink("javascripts", name, "js")
-  }
-
-  def getCSSLink(name: String): String = {
-   loadAssetsLink("stylesheets", name, "css")
-  }
-
-  def loadAssetsLink(base: String, name: String, _type: String): String = {
-    var minified = ""
-//    if (play.Play.isProd) minified = ".min"
-    routes.Assets.at(base + "/" + name + minified + "." + _type).toString
-  }
-
   def urlToPicture(email: String, size: Int = 34) = {
     GravatarUtil.getAvatar(email, size)
   }
app/views/board/create.scala.html
--- app/views/board/create.scala.html
+++ app/views/board/create.scala.html
@@ -66,8 +66,8 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 $(document).ready(function(){
 	$yobi.loadModule("board.Write", {
app/views/board/edit.scala.html
--- app/views/board/edit.scala.html
+++ app/views/board/edit.scala.html
@@ -67,8 +67,8 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 $(document).ready(function(){
 	$yobi.loadModule("board.Write", {
app/views/board/view.scala.html
--- app/views/board/view.scala.html
+++ app/views/board/view.scala.html
@@ -129,8 +129,8 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 	$(document).ready(function(){
 		$yobi.loadModule("board.View", {
app/views/code/diff.scala.html
--- app/views/code/diff.scala.html
+++ app/views/code/diff.scala.html
@@ -134,8 +134,8 @@
 @common.markdown(project)
 @common.mergely()
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         $yobi.loadModule("code.Diff", {
app/views/code/partial_view_file.scala.html
--- app/views/code/partial_view_file.scala.html
+++ app/views/code/partial_view_file.scala.html
@@ -85,4 +85,4 @@
 }
 }
 
-<script type="text/javascript" src="@getJSLink("lib/ace/ace")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/ace/ace.js")"></script>
app/views/code/svnDiff.scala.html
--- app/views/code/svnDiff.scala.html
+++ app/views/code/svnDiff.scala.html
@@ -176,11 +176,11 @@
 
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/codemirror.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/mergely.css")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
-<script type="text/javascript" src="@getJSLink("lib/diff")"></script>
-<script type="text/javascript" src="@getJSLink("lib/mergely/codemirror.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/mergely/mergely")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/diff.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/codemirror.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/mergely.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         $yobi.loadModule("code.SvnDiff", {
app/views/code/view.scala.html
--- app/views/code/view.scala.html
+++ app/views/code/view.scala.html
@@ -81,8 +81,8 @@
 
 </div>
 
-<link rel="stylesheet" type="text/css" href="@getCSSLink("dynatree/skin/ui.dynatree")" />
-<script type="text/javascript" src="@getJSLink("lib/moment-with-langs.min")"></script>
+<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/dynatree/skin/ui.dynatree.css")" />
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/moment-with-langs.min.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         $yobi.loadModule("code.Browser", {
app/views/common/markdown.scala.html
--- app/views/common/markdown.scala.html
+++ app/views/common/markdown.scala.html
@@ -2,11 +2,11 @@
 
 @import utils.TemplateHelper._
 
-<link rel="stylesheet" type="text/css" href="@getCSSLink("hljsstyles/default")" />
-<script type="text/javascript" src="@getJSLink("lib/hljs/hljs")"></script>
-<script type="text/javascript" src="@getJSLink("lib/hljs/languages/allinone")"></script>
-<script type="text/javascript" src="@getJSLink("lib/marked")"></script>
-<script type="text/javascript" src="@getJSLink("lib/xss")"></script>
+<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/hljsstyles/default.css")" />
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/hljs/hljs.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/hljs/languages/allinone.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/marked.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/xss.js")"></script>
 <script type="text/javascript">
 $(document).ready(function(){
     var htOptions = {
app/views/common/mergely.scala.html
--- app/views/common/mergely.scala.html
+++ app/views/common/mergely.scala.html
@@ -34,9 +34,9 @@
 </div>
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/codemirror.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/mergely.css")">
-<script type="text/javascript" src="@getJSLink("lib/mergely/codemirror.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/mergely/mergely")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Mergely")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/codemirror.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/mergely.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Mergely.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         yobi.ui.Mergely().setButtons("[data-toggle=mergely]");
app/views/common/scripts.scala.html
--- app/views/common/scripts.scala.html
+++ app/views/common/scripts.scala.html
@@ -33,34 +33,34 @@
 @**<!-- //yobi.ui.Spinner -->**@
 
 <script type="text/javascript" src="@routes.Application.jsMessages()"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.tmpl")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.form")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.validate")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.zclip.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.placeholder.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.requestAs")"></script>
-<script type="text/javascript" src="@getJSLink("lib/bootstrap")"></script>
-<script type="text/javascript" src="@getJSLink("lib/bootstrap-better-typeahead")"></script>
-<script type="text/javascript" src="@getJSLink("lib/bootstrap-switch")"></script>
-<script type="text/javascript" src="@getJSLink("lib/rgbcolor")"></script>
-<script type="text/javascript" src="@getJSLink("lib/humanize")"></script>
-<script type="text/javascript" src="@getJSLink("lib/validate")"></script>
-<script type="text/javascript" src="@getJSLink("lib/spin")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Attachments")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Files")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Label")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.LabelEditor")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Mention")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Markdown")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Pagination")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ShortcutKey")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Dropdown")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Typeahead")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Dialog")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Toast")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Tabs")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.ui.Spinner")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.CodeCommentBox")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.tmpl.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.form.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.validate.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.zclip.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.placeholder.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.requestAs.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/bootstrap.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/bootstrap-better-typeahead.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/bootstrap-switch.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/rgbcolor.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/humanize.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/validate.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/spin.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Attachments.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Files.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Label.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.LabelEditor.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Mention.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Markdown.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Pagination.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ShortcutKey.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Dropdown.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Typeahead.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Dialog.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Toast.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Tabs.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.ui.Spinner.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.CodeCommentBox.js")"></script>
 
 <script type="text/javascript">
     $yobi.setScriptPath("@getJSPath");
app/views/git/create.scala.html
--- app/views/git/create.scala.html
+++ app/views/git/create.scala.html
@@ -133,8 +133,8 @@
     </div>
 </div>
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 $(document).ready(function() {
     $yobi.loadModule("git.Write", {
app/views/git/diff.scala.html
--- app/views/git/diff.scala.html
+++ app/views/git/diff.scala.html
@@ -146,9 +146,9 @@
     <button class="ybtn btn-thread"></button>
 </script>
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
-<script type="text/javascript" src="@getJSLink("lib/diff")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/diff.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         // code.Diff
app/views/git/edit.scala.html
--- app/views/git/edit.scala.html
+++ app/views/git/edit.scala.html
@@ -140,8 +140,8 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 	$(document).ready(function(){
         $yobi.loadModule("git.Write");
app/views/git/view.scala.html
--- app/views/git/view.scala.html
+++ app/views/git/view.scala.html
@@ -101,12 +101,12 @@
 
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/codemirror.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/mergely/mergely.css")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
-<script type="text/javascript" src="@getJSLink("lib/diff")"></script>
-<script type="text/javascript" src="@getJSLink("lib/mergely/codemirror.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/mergely/mergely")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Interval")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/diff.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/codemirror.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mergely/mergely.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Interval.js")"></script>
 <script type="text/javascript">
     $(document).ready(function() {
         $yobi.loadModule("git.View", {
app/views/git/viewChanges.scala.html
--- app/views/git/viewChanges.scala.html
+++ app/views/git/viewChanges.scala.html
@@ -42,8 +42,8 @@
 @common.markdown(project)
 @common.mergely()
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
     $(document).ready(function() {
         yobi.Mention({
app/views/help/UIKit.scala.html
--- app/views/help/UIKit.scala.html
+++ app/views/help/UIKit.scala.html
@@ -6,14 +6,14 @@
 <title>Yobi UI</title>
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.ico")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("bootstrap")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobi")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("fontello/css/fontello")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("fontello/css/animation")">
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery-1.9.0")"></script>
-<script type="text/javascript" src="@getJSLink("lib/bootstrap")"></script>
-<script type="text/javascript" src="@getJSLink("lib/bootstrap-switch")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Common")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobi.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/fontello/css/fontello.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/fontello/css/animation.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery-1.9.0.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/bootstrap.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/bootstrap-switch.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Common.js")"></script>
 <style type="text/css">
 body { color:#ccc; }
 dl { display:inline-block; margin:18px; }
app/views/issue/create.scala.html
--- app/views/issue/create.scala.html
+++ app/views/issue/create.scala.html
@@ -135,11 +135,11 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
 <script id="tplRelIssue" type="text/x-jquery-tmpl">
 <li class="issue-item"><a href="${link}" class="title-link" target="_blank"><strong class="issue-id">#${id}</strong> ${title}</a><span class="date">${date}</span></li>
 </script>
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
 	$(document).ready(function(){
 	    // yobi.Label
app/views/issue/edit.scala.html
--- app/views/issue/edit.scala.html
+++ app/views/issue/edit.scala.html
@@ -161,11 +161,11 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
 <script type="text/x-jquery-tmpl" id="tplRelIssue">
 <li class="issue-item"><a href="${link}" class="title-link" target="_blank"><strong class="issue-id">#${id}</strong> ${title}</a><span class="date">${date}</span></li>
 </script>
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         // yobi.Label
app/views/issue/view.scala.html
--- app/views/issue/view.scala.html
+++ app/views/issue/view.scala.html
@@ -262,8 +262,8 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         // yobi.Label
app/views/layout.scala.html
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
@@ -9,15 +9,15 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.ico")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("bootstrap")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobi")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobicon/style")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobi.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobicon/style.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/zenform/zen-form.css")">
 
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery-1.9.0")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.pjax")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Common")"></script>
-<script type="text/javascript" src="@getJSLink("lib/zenform/zen-form")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery-1.9.0.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.pjax.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Common.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/zenform/zen-form.js")"></script>
 </head>
 
 <body class="@theme">
app/views/milestone/create.scala.html
--- app/views/milestone/create.scala.html
+++ app/views/milestone/create.scala.html
@@ -59,12 +59,12 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 
-<link rel="stylesheet" type="text/css" href="@getCSSLink("pikaday")" />
-<script type="text/javascript" src="@getJSLink("lib/moment-with-langs.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/pikaday")"></script>
+<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/pikaday.css")" />
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/moment-with-langs.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/pikaday.js")"></script>
 <script type="text/javascript">
     $(document).ready(function() {
         // yobi.milestone.Write
app/views/milestone/edit.scala.html
--- app/views/milestone/edit.scala.html
+++ app/views/milestone/edit.scala.html
@@ -64,12 +64,12 @@
 
 @common.markdown(project)
 
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("mention")">
-<script type="text/javascript" src="@getJSLink("lib/mentionjs/mention")"></script>
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/mention.css")">
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/mentionjs/mention.js")"></script>
 
-<link rel="stylesheet" type="text/css" href="@getCSSLink("pikaday")" />
-<script type="text/javascript" src="@getJSLink("lib/moment-with-langs.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/pikaday")"></script>
+<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/pikaday.css")" />
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/moment-with-langs.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/pikaday.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         // yobi.milestone.Write
app/views/user/edit.scala.html
--- app/views/user/edit.scala.html
+++ app/views/user/edit.scala.html
@@ -169,9 +169,9 @@
     </div>
 </div>
 
-<link rel="stylesheet" type="text/css" href="@getCSSLink("jcrop/jquery.Jcrop")" />
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.Jcrop.min")"></script>
-<script type="text/javascript" src="@getJSLink("lib/canvas-to-blob")"></script>
+<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/jcrop/jquery.Jcrop.css")" />
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.Jcrop.min.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/canvas-to-blob.js")"></script>
 <script type="text/javascript">
     $(document).ready(function(){
         $yobi.loadModule("user.Setting", {
app/views/user/resetPassword.scala.html
--- app/views/user/resetPassword.scala.html
+++ app/views/user/resetPassword.scala.html
@@ -32,7 +32,7 @@
         </div>
     </div>
 
-    <script type="text/javascript" src="@getJSLink("lib/validate")"></script>
+    <script type="text/javascript" src="@routes.Assets.at("javascripts/lib/validate.js")"></script>
     <script type="text/javascript">
             $(document).ready(function(){
                 $yobi.loadModule("resetPassword");
app/views/user/signup.scala.html
--- app/views/user/signup.scala.html
+++ app/views/user/signup.scala.html
@@ -60,7 +60,7 @@
   </div>
 </div>
 
-<script type="text/javascript" src="@getJSLink("lib/validate")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/validate.js")"></script>
 <script type="text/javascript">
     $(document).ready(function() {
         $yobi.loadModule("user.SignUp");
app/views/user/view.scala.html
--- app/views/user/view.scala.html
+++ app/views/user/view.scala.html
@@ -146,7 +146,7 @@
     </section>
 </div>
 
-<script type="text/javascript" src='@getJSLink("lib/parseuri")'></script>
+<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/parseuri")'></script>
 <script type="text/javascript">
 $(document).ready(function(){
     $yobi.loadModule("user.View", {
app/views/welcome/restart.scala.html
--- app/views/welcome/restart.scala.html
+++ app/views/welcome/restart.scala.html
@@ -8,15 +8,15 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.ico")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("bootstrap")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobi")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobicon/style")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobi.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobicon/style.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/zenform/zen-form.css")">
 
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery-1.9.0")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.pjax")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Common")"></script>
-<script type="text/javascript" src="@getJSLink("lib/zenform/zen-form")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery-1.9.0.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.pjax.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Common.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/zenform/zen-form.js")"></script>
 <style type="text/css">
     .secret-box { width:50%; margin:20px auto; }
     .secret-wrap { padding:50px 0; text-align:center; }
app/views/welcome/secret.scala.html
--- app/views/welcome/secret.scala.html
+++ app/views/welcome/secret.scala.html
@@ -9,15 +9,15 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.ico")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("bootstrap")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobi")">
-<link rel="stylesheet" type="text/css" media="screen" href="@getCSSLink("yobicon/style")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobi.css")">
+<link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("stylesheets/yobicon/style.css")">
 <link rel="stylesheet" type="text/css" media="screen" href="@routes.Assets.at("javascripts/lib/zenform/zen-form.css")">
 
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery-1.9.0")"></script>
-<script type="text/javascript" src="@getJSLink("lib/jquery/jquery.pjax")"></script>
-<script type="text/javascript" src="@getJSLink("common/yobi.Common")"></script>
-<script type="text/javascript" src="@getJSLink("lib/zenform/zen-form")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery-1.9.0.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/jquery/jquery.pjax.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/common/yobi.Common.js")"></script>
+<script type="text/javascript" src="@routes.Assets.at("javascripts/lib/zenform/zen-form.js")"></script>
 <style type="text/css">
     .secret-box { width:50%; margin:20px auto; }
     .secret-wrap { text-align:center; }
docs/technical/pagination.md
--- docs/technical/pagination.md
+++ docs/technical/pagination.md
@@ -82,7 +82,7 @@
 
 사용 예:
 
-    <script src="@getJSLink("pagination")" type="text/javascript"></script>
+    <script src="@routes.Assets.at("javascripts/common/yobo.Pagination.js")" type="text/javascript"></script>
     <script type="text/javascript">
     var pagination = new Pagination();
     pagination.init(function() {
@@ -99,7 +99,7 @@
 
 사용 예:
 
-    <script src="@getJSLink("pagination")" type="text/javascript"></script>
+    <script src="@routes.Assets.at("javascripts/common/yobo.Pagination.js")" type="text/javascript"></script>
     <script type="text/javascript">
     var pagination = new Pagination();
 
Add a comment
List