mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
8 lines
250 B
Ruby
8 lines
250 B
Ruby
|
# This code will include the listed helpers in all the assets
|
||
|
Rails.application.config.assets.configure do |env|
|
||
|
env.context_class.class_eval do
|
||
|
# This is required for repository_datatable.js.erb
|
||
|
include RepositoryDatatableHelper
|
||
|
end
|
||
|
end
|