uploading pics when not found in the file yard (same as for files)
This commit is contained in:
parent
8263e4bfcd
commit
44eea43940
5 changed files with 36 additions and 6 deletions
|
@ -71,7 +71,7 @@ class ApplicationController < ActionController::Base
|
|||
not @web_name.nil?
|
||||
end
|
||||
|
||||
@@REMEMBER_NOT = ['locked', 'save', 'back', 'file']
|
||||
@@REMEMBER_NOT = ['locked', 'save', 'back', 'file', 'pic']
|
||||
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