Changeset 1314
- Timestamp:
- 08/06/08 17:45:35 (5 months ago)
- Files:
-
- trunk/app/controllers/public_controller.rb (modified) (1 diff)
- trunk/app/controllers/sitemaps_controller.rb (added)
- trunk/app/helpers/sitemaps_helper.rb (added)
- trunk/app/views/sitemaps (added)
- trunk/app/views/sitemaps/show.rxml (added)
- trunk/config/routes.rb (modified) (1 diff)
- trunk/public/robots.txt (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/public_controller.rb
r1303 r1314 58 58 end 59 59 60 def robots 61 render :text => "Sitemap: #{url_for :controller => :sitemaps, :action => :show, :id => @show.slug, :only_path => false}" 62 end 63 60 64 private 61 65 trunk/config/routes.rb
r1219 r1314 13 13 map.connect 'ep/:episode_slug/ecouter/:content_slug', :controller => 'public', :action => 'playlist' 14 14 map.connect 'feed', :controller => 'public', :action => 'feed' 15 map.connect 'robots.txt', :controller => 'public', :action => 'robots' 15 16 16 17 # You can have the root of your site routed by hooking up ''
