another go at file upload: slightly less naive and _working_
This commit is contained in:
parent
7dc399650f
commit
295e41c245
2 changed files with 19 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue