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
Changing the directory structures around.
queso (author)
Sat Jun 14 17:40:44 -0700 2008
commit  dbd5089c3e089026faf048ac02874f02d6d348d1
tree    85f0075b506483130ed70d56de30e683b6df9234
parent  7b6c036ec4ff03f597ee71b159cd948e05d82112
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 ==== 0.2 6/14/2008
0
 
0
+* Changed the directory structure to be more MVC like... Almost like engines without extra plugins :)
0
+
0
 * Added the start of password requiring, but it appears more investigation is needed on the rails side of plugin handling
0
 
0
 * Fixed the sitemap_plugin layout footer url to point to our real domain
...
1
2
 
3
4
5
6
7
8
9
10
 
 
 
 
11
...
1
2
3
4
5
6
 
 
 
 
7
8
9
10
11
12
0
@@ -1,9 +1,10 @@
0
 require 'sitemap'
0
 require 'sitemap_fu'
0
+%w|models controllers|.each { |d| Dir["#{directory}/app/#{d}/*"].each { |f| require f.gsub(/\.rb/,'') } }
0
 ActiveRecord::Base.class_eval do
0
   include Queso::Acts::Sitemap
0
 end
0
-SitemapsController.view_paths = [File.join(directory, 'views')]
0
-SitemapSettingsController.view_paths = [File.join(directory, 'views')]
0
-SitemapWidgetsController.view_paths = [File.join(directory, 'views')]
0
-SitemapStaticLinksController.view_paths = [File.join(directory, 'views')]
0
\ No newline at end of file
0
+SitemapsController.view_paths = [File.join(directory, 'app/views')]
0
+SitemapSettingsController.view_paths = [File.join(directory, 'app/views')]
0
+SitemapWidgetsController.view_paths = [File.join(directory, 'app/views')]
0
+SitemapStaticLinksController.view_paths = [File.join(directory, 'app/views')]
0
\ No newline at end of file

Comments

    No one has commented yet.