forked from wallabag/wallabag
Update url & service name
Prefix ur with service namel: [service]_[route name] Add comment in Interface
This commit is contained in:
@ -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%
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user