We are defining the deprecated writer so we only need the reader

This commit is contained in:
Rafael Mendonça França 2014-11-19 14:30:55 -02:00
parent d65a1973e2
commit 743d749d75
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ See https://github.com/plataformatec/simple_form/pull/997 for more information.
# DEPRECATED: You can define the class to be used on all forms. Default is
# simple_form.
mattr_accessor :form_class
mattr_reader :form_class
@@form_class = :simple_form
# You can define the default class to be used on all forms. Can be overriden