Skip to content

Commit aad2384

Browse files
committed
Bug fix: asset pipeline - removed references to images on whiteboard.sv.cmu.edu
1 parent 69ba1e8 commit aad2384

13 files changed

+15
-15
lines changed

app/views/effort_log_mailer/endweek_admin_report.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<p>Scotty Dog</p>
1111
<br/>
12-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
12+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
1313
<br/>
1414

1515

app/views/effort_log_mailer/endweek_admin_report.text.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Patrolling the campus,
77

88
Scotty Dog
99

10-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
10+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
1111

1212

1313

app/views/effort_log_mailer/midweek_warning_admin_report.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<p>Scotty Dog</p>
2323
<br/>
24-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
24+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
2525
<br/>
2626
<p>Ps. Please put words in my mouth: <a href="http://whiteboard.sv.cmu.edu/scotty_dog_sayings">Scotty Dog Sayings</a>
2727
</p>

app/views/effort_log_mailer/midweek_warning_admin_report.text.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Patrolling the campus,
1717

1818
Scotty Dog
1919

20-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
20+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
2121

2222
Ps. Please put words in my mouth: <%= link_to "Scotty Dog Sayings", "http://whiteboard.sv.cmu.edu/scotty_dog_sayings" %>
2323

app/views/generic_mailer/email.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
<p>Scotty Dog</p>
1818
<br/>
19-
<%# image_tag('ScottyDogLandscape.jpg', :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
19+
<%= image_tag('ScottyDogLandscape.jpg', :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
2020
</body>
2121
</html>

app/views/generic_mailer/email.text.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
Patrolling the campus,
88
Scotty Dog
99

10-
<%# image_tag('ScottyDogLandscape.jpg', :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
10+
<%= image_tag('ScottyDogLandscape.jpg', :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog 2") %>

app/views/job_mailer/notify_added_employees.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ F-1 students must show: Passport, visa sticker, I-94, and I-20.<br/>
3131
<p>Patrolling the campus,</p>
3232
<p>Scotty Dog</p>
3333
<br/>
34-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
34+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
3535
</body>
3636
</html>

app/views/page_comment_mailer/comment_update.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
<p>Patrolling the campus,</p>
1313
<p>Scotty Dog</p>
1414
<br/>
15-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
15+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
1616

app/views/page_comment_mailer/comment_update.text.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ This comment was <%= @status %> on this <%= link_to "page", page_url(@page_comme
99
Patrolling the campus,
1010
Scotty Dog
1111

12-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
12+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
1313

app/views/reminder_mailer/email.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
<p>Scotty Dog</p>
1818
<br/>
19-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
19+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
2020
</body>
2121
</html>

app/views/reminder_mailer/email.text.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
Patrolling the campus,
88
Scotty Dog
99

10-
<%= image_tag("http://whiteboard.sv.cmu.edu/images/ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>
10+
<%= image_tag("ScottyDogLandscape.jpg", :class => "bevel", :size => "236x69", :alt => "Picture of Scotty Dog") %>

config/environments/development.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
# ActionMailer::Base.perform_deliveries = true
1919

2020
# Specify host url for password reset links in email
21-
# config.action_mailer.default_url_options = { :host => "localhost:3000" }
21+
# config.action_mailer.default_url_options = { :host => "localhost:3000" }n
2222

2323
ActionMailer::Base.smtp_settings = {
24-
:address => "smtp.gmail.com",
24+
:address => 'smtp.gmail.com',
2525
:port => 587,
2626
:authentication => :plain,
2727
:domain => ENV['GMAIL_SMTP_USER'],
@@ -45,5 +45,5 @@
4545
# config.assets.digest = true
4646

4747

48-
config.assets.prefix = "/assets"
48+
config.assets.prefix = '/assets'
4949
end

config/environments/production.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
# Enable serving of images, stylesheets, and JavaScripts from an asset server
4343
#config.action_controller.asset_host = "http://cmusv-rails-assets-production.s3.amazonaws.com/assets"
44-
config.action_controller.asset_host = "d1z5n3u3tyi6h3.cloudfront.net"
44+
config.action_controller.asset_host = 'http://d1z5n3u3tyi6h3.cloudfront.net'
4545
config.action_mailer.asset_host = config.action_controller.asset_host
4646

4747
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)

0 commit comments

Comments
 (0)