Permalink
Browse files

Added root_path to title image.

  • Loading branch information...
yoosee committed Mar 10, 2016
1 parent 4a741a5 commit 2b76ef5d053ea37d185ed7a01b3670c992c37250
@@ -16,7 +16,7 @@ $(document).ready(function(){
parmalink = $("img.image").attr('src')
}
});
$(file.previewTemplate).append('(' + response.fileID + ')');
$(file.previewTemplate).append('(id:' + response.fileID + ')');
// $(file.previewTemplate).append('<a class="dz-permalink" href="' + parmalink + '">Link</a>');
},
@@ -1,7 +1,7 @@
<% provide(:title, @blog.title ) %>
<div class="page-header">
<h1 id="blog-title"><%= image_tag("/system/W3er-title.png", alt: @blog.title, class: "img-responsive") %><br>
<h1 id="blog-title"><%= link_to image_tag("/system/W3er-title.png", alt: @blog.title, class: "img-responsive"), root_path %><br>
<small>a blog on first go without spending ages practicing.</small></h1>
</div>
@@ -14,18 +14,14 @@
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4e43073c7b0762d0"></script>
<div class="page-header">
<h1 id="blog-title"><%= image_tag("/system/W3er-title.png", alt: "World Wide Walker", class: "img-responsive") %></h1>
<h1 id="blog-title"><%= link_to image_tag("/system/W3er-title.png", alt: "World Wide Walker", class: "img-responsive"), root_path %></h1>
</div>
<% if @article.published? || signed_in? %>
<%= provide(:title, "#{@article.title} - #{@blog.title}") %>
<%= render 'article', article: @article %>
<%= render 'article_summary', article: @article %>
<%= render 'layouts/googleadsense' %>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_sharing_toolbox"></div>
@@ -46,7 +46,7 @@
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :debug
config.log_level = :info
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]

0 comments on commit 2b76ef5

Please sign in to comment.