Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't need @view_name anymore - ditch it

  • Loading branch information...
commit a19c10f322a7cd4cabb3bb2d70f42f6cc12bafed 1 parent 39d137a
@defunkt defunkt authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 lib/tilt.rb
View
8 lib/tilt.rb
@@ -358,13 +358,7 @@ def compile!
Mustache.view_namespace = options[:namespace]
# Figure out which Mustache class to use.
- @engine =
- if options[:view]
- @view_name = options[:view].name
- options[:view]
- else
- Mustache.view_class(name)
- end
+ @engine = options[:view] || Mustache.view_class(name)
# set options on the view class
options.each do |key, value|
Please sign in to comment.
Something went wrong with that request. Please try again.