public
Clone URL: git://github.com/robbyrussell/rubyurl.git
Search Repo:
Working on a change for permanent redirects for URLs

git-svn-id: https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk@81 
f0bc2f90-cf15-dc11-b192-0016e6374d05
robbyrussell (author)
Mon Oct 29 10:38:18 -0700 2007
commit  47008873ccc7f3e74c34540422dc2d1b44067576
tree    8ae9d7969cb268617b6e2d6fc9c0c8f27acb11d5
parent  f3b845519de3fbf74bd4885c69edfcf429dd6c53
...
23
24
25
26
 
27
28
29
...
23
24
25
 
26
27
28
29
0
@@ -23,7 +23,7 @@
0
 
0
     unless @link.nil?
0
       @link.add_visit(request)
0
- redirect_to @link.website_url
0
+ redirect_to @link.website_url, :status => :permanently_moved
0
     else
0
       redirect_to :action => 'invalid'
0
     end

Comments

    No one has commented yet.