From e32c3640138b6b1ec69cb09cd2158695afbd2e71 Mon Sep 17 00:00:00 2001 From: Tlazypanda Date: Wed, 27 May 2020 23:05:46 +0530 Subject: [PATCH] remove duplicate from assets.rb already present in application.js --- app/views/admin/assets.html.erb | 16 ---------------- config/initializers/assets.rb | 18 ------------------ 2 files changed, 34 deletions(-) diff --git a/app/views/admin/assets.html.erb b/app/views/admin/assets.html.erb index 87e0b0d749..e2765266c7 100644 --- a/app/views/admin/assets.html.erb +++ b/app/views/admin/assets.html.erb @@ -5,29 +5,13 @@ <%= javascript_include_tag 'comment_expand' %> <%= javascript_include_tag 'dashboard' %> <%= javascript_include_tag 'dragdrop' %> -<%= javascript_include_tag 'editor' %> -<%= javascript_include_tag 'graph' %> -<%= javascript_include_tag 'grids' %> -<%= javascript_include_tag 'header_footer' %> -<%= javascript_include_tag 'ics.deps.min' %> -<%= javascript_include_tag 'ics.min' %> -<%= javascript_include_tag 'jsdiff' %> -<%= javascript_include_tag 'leaflet_helper' %> -<%= javascript_include_tag 'like' %> <%= javascript_include_tag 'locationForm' %> -<%= javascript_include_tag 'main_image' %> <%= javascript_include_tag 'methods' %> <%= javascript_include_tag 'notes' %> <%= javascript_include_tag 'post' %> <%= javascript_include_tag 'question' %> -<%= javascript_include_tag 'restful_typeahead' %> -<%= javascript_include_tag 'searchform' %> -<%= javascript_include_tag 'setup' %> <%= javascript_include_tag 'sidebar' %> -<%= javascript_include_tag 'tagging' %> <%= javascript_include_tag 'textbox_expand' %> -<%= javascript_include_tag 'users' %> -<%= javascript_include_tag 'wikis' %> <%= stylesheet_link_tag 'blog' %> <%= stylesheet_link_tag 'comments' %> diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index df0ade1e7f..4178a8bf61 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -3,36 +3,18 @@ 'leaflet-blurred-location/dist/Leaflet.BlurredLocation.css', 'advanced_search.js', - 'submit_form_ajax.js', 'application.js', 'comment_expand.js', 'comment.js', 'dashboard.js', 'dragdrop.js', - 'editor.js', - 'graph.js', - 'simple-data-grapher.js', - 'grids.js', - 'header_footer.js', - 'ics.deps.min.js', - 'ics.min.js', - 'jsdiff.js', - 'leaflet_helper.js', - 'like.js', 'locationForm.js', - 'main_image.js', 'methods.js', 'notes.js', 'post.js', 'question.js', - 'restful_typeahead.js', - 'searchform.js', - 'setup.js', 'sidebar.js', - 'tagging.js', 'textbox_expand.js', - 'users.js', - 'wikis.js', 'blog.css', 'comments.css',