Rename asset bundles for no particular reason

This commit is contained in:
Samuel Cochran 2014-03-21 10:13:01 +11:00
parent 70be04c478
commit 20ffd4433e
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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