diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/index/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/layouts/application.html.erb | 4 | ||||
-rw-r--r-- | app/views/packages/search.html.erb | 2 | ||||
-rw-r--r-- | app/views/packages/show.html.erb | 2 | ||||
-rw-r--r-- | app/views/useflags/index.html.erb | 4 |
5 files changed, 6 insertions, 10 deletions
diff --git a/app/views/index/index.html.erb b/app/views/index/index.html.erb index ee2bd7f..b173177 100644 --- a/app/views/index/index.html.erb +++ b/app/views/index/index.html.erb @@ -133,6 +133,4 @@ </div> </div> -<%= javascript_include_tag 'index/query_generator.js' %> - -<%= javascript_include_tag 'index/typeahead.js' %> +<%= javascript_pack_tag 'index' %>
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index e368790..499328c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -8,8 +8,8 @@ <meta name="description" content="<%= "#{@description} in the " if @description %>Gentoo Packages Database"> <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> - <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + <%= stylesheet_pack_tag 'application' %> + <%= javascript_pack_tag 'application' %> <script src="https://assets.gentoo.org/tyrian/bootstrap.min.js"></script> <link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon"> <% if content_for? :head -%> diff --git a/app/views/packages/search.html.erb b/app/views/packages/search.html.erb index 80f6bf3..a0d7872 100644 --- a/app/views/packages/search.html.erb +++ b/app/views/packages/search.html.erb @@ -38,5 +38,5 @@ </div> </form> </div> -<%= javascript_include_tag 'index/typeahead.js' %> +<%= javascript_pack_tag 'index' %> <% end %> diff --git a/app/views/packages/show.html.erb b/app/views/packages/show.html.erb index 30e0013..badcdfe 100644 --- a/app/views/packages/show.html.erb +++ b/app/views/packages/show.html.erb @@ -20,7 +20,7 @@ </div> </div> -<%= javascript_include_tag 'packages/show' %> +<%= javascript_pack_tag 'packages' %> <% content_for :head do %> <%= alternate_feed_link('https://gitweb.gentoo.org/repo/gentoo.git/atom/%s?h=master' % @package.atom, t(:raw_git_feed)) %> <% end %> diff --git a/app/views/useflags/index.html.erb b/app/views/useflags/index.html.erb index ac006f2..1fd18e8 100644 --- a/app/views/useflags/index.html.erb +++ b/app/views/useflags/index.html.erb @@ -40,6 +40,4 @@ </div> </div> -<%= javascript_include_tag 'useflags/typeahead.js' %> -<%= javascript_include_tag 'd3.min.js' %> -<%= javascript_include_tag 'useflags/render-bubbles.js' %> +<%= javascript_pack_tag 'useflags' %> |