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