How to write plugin that can do some configutions as admin
dazuiba opened this issue · comments
Say I want write a plugin, when it is loaded, user can config it as administrator.
So I need these things:
- erb views of the configution form that use can fill
- web controllers to accept the filled form and save it to database
- db models talks to a new table(like my_plugin_config_table)
What should I do ?
May be I know how to do this.
I should write these 'configuration' in thoth.conf