Commit 7d535d4b by Kamil Bielawski

Accept wrapper default parameters

parent 2e555f05
...@@ -29,7 +29,7 @@ module Annotate ...@@ -29,7 +29,7 @@ module Annotate
:timestamp, :exclude_serializers, :classified_sort, :show_foreign_keys, :timestamp, :exclude_serializers, :classified_sort, :show_foreign_keys,
] ]
OTHER_OPTIONS=[ OTHER_OPTIONS=[
:ignore_columns, :skip_on_db_migrate :ignore_columns, :skip_on_db_migrate, :wrapper_open, :wrapper_close
] ]
PATH_OPTIONS=[ PATH_OPTIONS=[
:require, :model_dir :require, :model_dir
......
...@@ -30,6 +30,8 @@ if Rails.env.development? ...@@ -30,6 +30,8 @@ if Rails.env.development?
'sort' => "false", 'sort' => "false",
'force' => "false", 'force' => "false",
'trace' => "false", 'trace' => "false",
'wrapper_open' => nil,
'wrapper_close' => nil,
}) })
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment