another go at file upload: slightly less naive and _working_

This commit is contained in:
Alexey Verkhovsky 2005-01-22 19:30:49 +00:00
parent 7dc399650f
commit 295e41c245
2 changed files with 19 additions and 9 deletions

View file

@ -71,7 +71,7 @@ class ApplicationController < ActionController::Base
not @web_name.nil?
end
@@REMEMBER_NOT = ['locked', 'save', 'back']
@@REMEMBER_NOT = ['locked', 'save', 'back', 'file']
def remember_location
if @response.headers['Status'] == '200 OK'
unless @@REMEMBER_NOT.include? action_name or @request.method != :get