app/views/layouts/admin.html.erb in tkh_admin_panel-0.9.8 vs app/views/layouts/admin.html.erb in tkh_admin_panel-0.9.9
- old
+ new
@@ -79,9 +79,11 @@
<% # the twitter typeahead javascript library needs all typeahead form fields to be present in DOM. this is an ugly hack %>
<% if controller.controller_name == 'pages' %>
<%= javascript_include_tag 'admin/pages' %>
<% elsif controller.controller_name == 'illustrations' %>
<%= javascript_include_tag 'admin/illustrations' %>
+ <% elsif controller.controller_name == 'menus' %>
+ <%= javascript_include_tag 'admin/menus' %>
<% end %>
</body>
</html>