File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Builder
10
10
# @param [Class] resource_class The resource this builder generate column
11
11
# information for.
12
12
# @param [Hash] options the options for the builder
13
- # @option options [Hash] :header_format a hash of format properties to
13
+ # @option options [Hash] :header_format A hash of format properties to
14
14
# apply to the header row. Any properties specified will be merged with
15
15
# the default header styles.
16
16
# @option options [Array] :i18n_scope the I18n scope to use when looking
Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ def xls_filename
51
51
end
52
52
53
53
# Returns the collection to use when generating an xls file.
54
- # It uses the find_collection function if it is available, and uses
55
- # collection if find_collection isn't available.
56
54
def xls_collection
57
55
find_collection except : :pagination
58
56
end
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ def set_id
93
93
after : "config.cache_classes = true\n "
94
94
)
95
95
96
- lib_path = File . expand_path ( '../../../lib/activeadmin-xls' , __FILE__ )
97
96
# Add our local Active Admin to the load path
97
+ lib_path = File . expand_path ( '../../../lib/activeadmin-xls' , __FILE__ )
98
98
inject_into_file 'config/environment.rb' ,
99
99
"\n require '#{ lib_path } '\n " ,
100
100
after : "require File.expand_path('../application', __FILE__)"
You can’t perform that action at this time.
0 commit comments