Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the initialization to be explicitly included in ActionView::Base
By the time the plugin loads, ActionView::Base has Helpers module already included, so it's missing the appended features from DynamicForm module. Fixed it by including DynamicForm module directly into the ActionView::Base.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,5 @@ | |||
require 'action_view/helpers/dynamic_form' | require 'action_view/helpers/dynamic_form' | ||
|
|||
class ActionView::Base | |||
include DynamicForm | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters