Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed mass assign protect remove_file when upload file

  • Loading branch information...
commit e1df7490a78923ef4ccc636eb893288ee931df29 1 parent a81c8d2
@isqad88 isqad88 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/activeadmin_settings/setting.rb
View
2  app/models/activeadmin_settings/setting.rb
@@ -75,7 +75,7 @@ def self.[](name)
else
class Setting < ActiveRecord::Base
include SettingMethods
- attr_accessible :name, :string, :file
+ attr_accessible :name, :string, :file, :remove_file
def self.[](name)
find_or_create_by_name(name).value
Please sign in to comment.
Something went wrong with that request. Please try again.