mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-10-31 15:35:07 -04:00
Rename asset bundles for no particular reason
This commit is contained in:
parent
70be04c478
commit
20ffd4433e
2
Rakefile
2
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user