From 20ffd4433e4328019c9d2af6697cdee5e3426faa Mon Sep 17 00:00:00 2001 From: Samuel Cochran Date: Fri, 21 Mar 2014 10:13:01 +1100 Subject: [PATCH] Rename asset bundles for no particular reason --- Rakefile | 2 +- .../{application.js.coffee => mailcatcher.js.coffee} | 0 .../{application.css.sass => mailcatcher.css.sass} | 0 views/index.haml | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename assets/javascripts/{application.js.coffee => mailcatcher.js.coffee} (100%) rename assets/stylesheets/{application.css.sass => mailcatcher.css.sass} (100%) diff --git a/Rakefile b/Rakefile index 510b3c7..ee076f3 100644 --- a/Rakefile +++ b/Rakefile @@ -27,7 +27,7 @@ task "assets" do require "mail_catcher/web/assets" sprockets = MailCatcher::Web::Assets - sprockets.each_logical_path(/(\Aapplication\.(js|css)|\.(xsl|png)\Z)/) do |logical_path| + sprockets.each_logical_path(/(\Amailcatcher\.(js|css)|\.(xsl|png)\Z)/) do |logical_path| if asset = sprockets.find_asset(logical_path) target = File.join(compiled_path, logical_path) asset.write_to target diff --git a/assets/javascripts/application.js.coffee b/assets/javascripts/mailcatcher.js.coffee similarity index 100% rename from assets/javascripts/application.js.coffee rename to assets/javascripts/mailcatcher.js.coffee diff --git a/assets/stylesheets/application.css.sass b/assets/stylesheets/mailcatcher.css.sass similarity index 100% rename from assets/stylesheets/application.css.sass rename to assets/stylesheets/mailcatcher.css.sass diff --git a/views/index.haml b/views/index.haml index d141992..6e47fb8 100644 --- a/views/index.haml +++ b/views/index.haml @@ -3,8 +3,8 @@ %head %title MailCatcher %link{:href => "/favicon.ico", :rel => "shortcut icon"} - %link{:href => "/assets/application.css", :rel => "stylesheet"} - %script{:src => "/assets/application.js"} + %link{:href => "/assets/mailcatcher.css", :rel => "stylesheet"} + %script{:src => "/assets/mailcatcher.js"} %body %header %h1