Make sharedlists optional (and disabled by default)
This commit is contained in:
parent
49f2e505d0
commit
58df186a2a
2 changed files with 14 additions and 10 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
- content_for :actionbar do
|
||||
= link_to t('.action_new'), new_supplier_path, class: 'btn btn-primary'
|
||||
= link_to t('.action_import'), shared_suppliers_suppliers_path, class: 'btn'
|
||||
- if FoodsoftConfig[:shared_lists]
|
||||
= link_to t('.action_import'), shared_suppliers_suppliers_path, class: 'btn'
|
||||
%table.table.table-striped
|
||||
%thead
|
||||
%tr
|
||||
|
|
|
@ -132,15 +132,18 @@ default: &defaults
|
|||
#host: localhost
|
||||
#port: 3000
|
||||
|
||||
# Access to sharedLists, the external article-database
|
||||
shared_lists:
|
||||
adapter: mysql2
|
||||
host: localhost
|
||||
database: sharedlists_development
|
||||
username: root
|
||||
password:
|
||||
encoding: utf8
|
||||
socket: /opt/lampp/var/mysql/mysql.sock
|
||||
# Access to sharedlists, the external article-database.
|
||||
# This allows a foodcoop to subscribe to a selection of a supplier's full assortment,
|
||||
# and makes it possible to share data with several foodcoops. Using this requires installing
|
||||
# an additional application with a separate database.
|
||||
#shared_lists:
|
||||
# adapter: mysql2
|
||||
# host: localhost
|
||||
# database: sharedlists_development
|
||||
# username: root
|
||||
# password:
|
||||
# encoding: utf8
|
||||
# socket: /opt/lampp/var/mysql/mysql.sock
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
|
Loading…
Reference in a new issue