lib/rails/generators/joosy/templates/app/widgets/template.js.coffee in joosy-0.1.0.RC3 vs lib/rails/generators/joosy/templates/app/widgets/template.js.coffee in joosy-0.1.0.alpha
- old
+ new
@@ -1,2 +1,2 @@
-class @<%= file_name.camelize %>Widget extends Joosy.Widget
- @view '<%= file_name %>'
+class @<%= file_name.camelize %>Widget extends Joosy.Layout
+ view: JST['<%= app_path %>/templates/widgets/<%= file_name %>']