Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change the way of determining template name\n Now strips all the exte…

…nsion of template file name
  • Loading branch information...
commit 734691073b77d9e194d9aa20e3236f857a9c9c80 1 parent fc6f52e
Hoseong Hwang authored
2  lib/dust-rails/rails/dust_template.rb
View
@@ -30,7 +30,7 @@ def prepare
def evaluate(scope, locals, &block)
<<-TMPL
- #{Source.context.call("dust.compile", data, basename('.js.dust'))}
+ #{Source.context.call("dust.compile", data, name)}
TMPL
end
end
2  lib/dust-rails/version.rb
View
@@ -1,5 +1,5 @@
module Dust
module Rails
- VERSION = "0.1.2"
+ VERSION = "0.1.3"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.