1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

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

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 # DEPRECATED: You can define the class to be used on all forms. Default is
# simple_form. # simple_form.
mattr_accessor :form_class mattr_reader :form_class
@@form_class = :simple_form @@form_class = :simple_form
# You can define the default class to be used on all forms. Can be overriden # You can define the default class to be used on all forms. Can be overriden