diff options
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 16 | ||||
-rw-r--r-- | app/config/config_test.yml | 4 | ||||
-rw-r--r-- | app/config/routing.yml | 6 |
3 files changed, 22 insertions, 4 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 8e7258ea..367aa276 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -128,3 +128,19 @@ nelmio_cors: | |||
128 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | 128 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
129 | max_age: 3600 | 129 | max_age: 3600 |
130 | hosts: ['^api\.'] | 130 | hosts: ['^api\.'] |
131 | |||
132 | liip_theme: | ||
133 | load_controllers: false | ||
134 | themes: | ||
135 | - baggy | ||
136 | autodetect_theme: wallabag_core.helper.detect_active_theme | ||
137 | |||
138 | path_patterns: | ||
139 | # app_resource: | ||
140 | # - %%app_path%%/views/themes/%%current_theme%%/%%template%% | ||
141 | # - %%app_path%%/views/%%template%% | ||
142 | bundle_resource: | ||
143 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | ||
144 | # bundle_resource_dir: | ||
145 | # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% | ||
146 | # - %%dir%%/views/%%bundle_name%%/%%override_path%% | ||
diff --git a/app/config/config_test.yml b/app/config/config_test.yml index 83e2922a..a6ead1e8 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml | |||
@@ -17,4 +17,6 @@ swiftmailer: | |||
17 | 17 | ||
18 | doctrine: | 18 | doctrine: |
19 | dbal: | 19 | dbal: |
20 | path: %kernel.root_dir%/../data/db/poche_test.sqlite | 20 | driver: pdo_sqlite |
21 | path: %kernel.root_dir%/../data/db/wallabag_test.sqlite | ||
22 | host: localhost | ||
diff --git a/app/config/routing.yml b/app/config/routing.yml index 20f6979a..d681b39b 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml | |||
@@ -19,6 +19,6 @@ logout: | |||
19 | path: /logout | 19 | path: /logout |
20 | 20 | ||
21 | rest : | 21 | rest : |
22 | type : rest | 22 | type : rest |
23 | resource : "routing_rest.yml" | 23 | resource : "routing_rest.yml" |
24 | prefix : /api \ No newline at end of file | 24 | prefix : /api |