lib/public/javascripts/edifice/framework.js in edifice-0.6.3 vs lib/public/javascripts/edifice/framework.js in edifice-0.6.4

- old
+ new

@@ -60,9 +60,14 @@ } return str.charAt(0).toUpperCase().concat( str.substr(1) ) } + // sometimes, on errors, etc these may not be set + view_path = view_path || 'no_controller'; + view_name = view_name || 'no_view' + layout = layout || 'no_layout' + hookup_once(view_path + capitalize_first_chr(view_name), methodName); // hookup the view hookup_once('layouts' + capitalize_first_chr(layout), methodName); }; /**