Skip to content

Commit

Permalink
[fix] Looked for templates in the configured place (2m)
Browse files Browse the repository at this point in the history
  • Loading branch information
boblail committed Aug 7, 2014
1 parent e0ae9a0 commit 4796f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/assets/javascripts/neat/model_editor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class window.Neat.ModelEditor extends Backbone.View

# Renders the 'show' template normally,
# renders 'edit' when in edit mode.
@showTemplate = JST["#{@viewPath}/show"]
@editTemplate = JST["#{@viewPath}/edit"]
@showTemplate = Neat.template["#{@viewPath}/show"]
@editTemplate = Neat.template["#{@viewPath}/edit"]

# Wire up events.
# Don't use Backbone's events hash because if subclasses
Expand Down

0 comments on commit 4796f0a

Please sign in to comment.