views/index.erb in lanes-0.0.3 vs views/index.erb in lanes-0.0.5

- old
+ new

@@ -3,27 +3,23 @@ <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"/> <title><%= Lanes.config.app_title %></title> - - <%= javascript_tag 'lanes-workspace.js' %> - <%= stylesheet_tag 'lanes-workspace' %> - - + <%= javascript_tag 'lanes/workspace' %> + <%= stylesheet_tag 'lanes/workspace' %> <script type="text/javascript"> - Lanes.Workspace.create('.lanes-test-root', { - csrf_token: "<%= csrf_token %>", - view: 'Lanes.Workspace.Layout', - user_data: <%= user_data %>, - root_path: "<%= lanes_api_url %>" - }, <%= bootstrap_data %> ); + Lanes.Workspace.create('.lanes-root', { + csrf_token: "<%= csrf_token %>", + view: "<%= Lanes.config.root_view %>", + root_path: "<%= lanes_api_url %>" + }, <%= client_bootstrap_data %> ); </script> </head> - <body style="margin: 0; background-color: white;"> + <body> - <div class="lanes-test-root"> + <div class="lanes-root"> </div> </body> </html>