public
Description: Rails Sitemap Plugin / Site Map Plugin for Rails. A beautiful rails sitemap plugin that talks to Google, Yahoo and MSN when updated. Sitemap features clean handcrafted XHTML, XML with XSLT and custom finder options for your named routes.
Clone URL: git://github.com/queso/sitemap.git
Altered copyright date to update with current year.
mattpolito (author)
Sat Apr 26 20:13:05 -0700 2008
queso (committer)
Sat Jun 14 12:17:33 -0700 2008
commit  b4137231e1bc99ab0a31fa20cfbb4dbd4d41cef0
tree    84ac6398179b32fc33cc14df543e70488abd8f2e
parent  7fcf25df6d841e4f2ed35948f1ed9e41fc1d172a
0
...
4
5
6
 
 
 
7
8
...
4
5
6
7
8
9
10
11
0
@@ -4,4 +4,7 @@ module SitemapsHelper
0
      date.utc.strftime("%Y-%m-%dT%H:%M:%S+00:00")
0
   end
0
   
0
+ def copyright_date
0
+ Time.now.year
0
+ end
0
 end
0
\ No newline at end of file
...
138
139
140
141
 
142
143
144
...
138
139
140
 
141
142
143
144
0
@@ -138,7 +138,7 @@
0
   <hr />
0
   
0
   <div id="site_footer">
0
- <p>Copyright 2007 <%= link_to (@site.name || "Rails Web Application"), root_url %>, All Rights Reserved.</p>
0
+ <p>Copyright&copy; <%= copyright_date %> <%= link_to (@site.name || "Rails Web Application"), root_url %>, All Rights Reserved.</p>
0
   </div>
0
 
0
 </div>

Comments

    No one has commented yet.