We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ceb9ae commit 027b5baCopy full SHA for 027b5ba
doc/creating_file_importers.md
@@ -110,11 +110,17 @@ plugged into the host application.
110
111
module RainbowStock::Plugin
112
def configure(config)
113
- config.file_importers.register('rainbow_stock', RainbowStock::FileImporter.new)
+ config.features.register('rainbow_stock_importer') do |feature_config|
114
+ feature_config.file_importers.register(RainbowStock::FileImporter.new)
115
+ end
116
end
117
118
```
119
120
+In the above code it can be seen that importer is registered against the feature `rainbow_stock_importer`.
121
+End user will be able to see the importer when feature is enabled for that user.
122
+
123
124
## Javascript
125
126
Backbone javascript view is required from the file importer plugin.
0 commit comments