Update url & service name

Prefix ur with service namel: [service]_[route name]
Add comment in Interface
This commit is contained in:
Jeremy Benoist
2015-12-24 15:22:56 +01:00
parent 5a4bbcc9a7
commit 0aa344dc24
6 changed files with 56 additions and 13 deletions

View File

@ -1,8 +1,8 @@
services:
wallabag_import.import.pocket_import:
wallabag_import.pocket.import:
class: Wallabag\ImportBundle\Import\PocketImport
arguments:
- @security.token_storage
- @session
- @doctrine.orm.entity_manager
- "@security.token_storage"
- "@session"
- "@doctrine.orm.entity_manager"
- %pocket_consumer_key%

View File

@ -8,7 +8,7 @@
<div class="card-panel settings">
{% trans %}Welcome on wallabag importer. Please select your previous service that you want to migrate.{% endtrans %}
<ul>
<li><a href="{{ path('pocket') }}">Pocket</a></li>
<li><a href="{{ path('pocket_import') }}">Pocket</a></li>
</ul>
</div>
</div>

View File

@ -7,7 +7,7 @@
<div class="col s12">
<div class="card-panel settings">
{% trans %}You can import your data from your Pocket account. You just have to click on the below button and authorize the application to connect to getpocket.com.{% endtrans %}
<form method="post" action="{{ path('authpocket') }}">
<form method="post" action="{{ path('pocket_auth') }}">
<input type="submit" value="Connect to Pocket and import data" />
</form>
</div>