Naive implementation of a file upload
This commit is contained in:
parent
e6c32bafc6
commit
aec9449771
3 changed files with 33 additions and 4 deletions
|
@ -71,7 +71,7 @@ class ApplicationController < ActionController::Base
|
|||
not @web_name.nil?
|
||||
end
|
||||
|
||||
@@REMEMBER_NOT = ['locked', 'save']
|
||||
@@REMEMBER_NOT = ['locked', 'save', 'back']
|
||||
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