Skip to content

Commit

Permalink
Merge pull request #5 from Roshyo/master
Browse files Browse the repository at this point in the history
Use new routing declaration instead of deprecated old one
  • Loading branch information
mmenozzi authored Oct 14, 2020
2 parents 4c48465 + 28586a9 commit dfbaaba
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Resources/config/admin_routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ webgriffe_sylius_table_rate_plugin_shipping_table_rate:
resource: |
alias: webgriffe.shipping_table_rate
section: admin
templates: WebgriffeSyliusTableRateShippingPlugin:TableRateCrud
except: ['show', 'bulkDelete']
templates: '@WebgriffeSyliusTableRateShippingPlugin/TableRateCrud'
redirect: update
grid: webgriffe_sylius_table_rate_plugin_shipping_table_rate
vars:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'SyliusAdminBundle:Form:theme.html.twig' %}
{% extends '@SyliusAdmin/Form/theme.html.twig' %}

{% block _webgriffe_sylius_table_rate_plugin_shipping_table_rate_weightLimitToRate_widget %}
{% from 'SyliusResourceBundle:Macros:notification.html.twig' import error %}
{% from '@SyliusResource/Macros/notification.html.twig' import error %}
{% import _self as self %}
{% set attr = attr|merge({'class': attr.class|default ~ ' controls collection-widget'}) %}

Expand Down
4 changes: 2 additions & 2 deletions src/Resources/views/TableRateCrud/create.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'SyliusAdminBundle:Crud:create.html.twig' %}
{% extends '@SyliusAdmin/Crud/create.html.twig' %}

{% form_theme form.weightLimitToRate 'WebgriffeSyliusTableRateShippingPlugin:TableRateCrud:_weightLimitToRateTheme.html.twig' %}
{% form_theme form.weightLimitToRate '@WebgriffeSyliusTableRateShippingPlugin/TableRateCrud/_weightLimitToRateTheme.html.twig' %}

2 changes: 1 addition & 1 deletion src/Resources/views/TableRateCrud/index.html.twig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{% extends 'SyliusAdminBundle:Crud:index.html.twig' %}
{% extends '@SyliusAdmin/Crud/index.html.twig' %}
4 changes: 2 additions & 2 deletions src/Resources/views/TableRateCrud/update.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% extends 'SyliusAdminBundle:Crud:update.html.twig' %}
{% extends '@SyliusAdmin/Crud/update.html.twig' %}

{% form_theme form.weightLimitToRate 'WebgriffeSyliusTableRateShippingPlugin:TableRateCrud:_weightLimitToRateTheme.html.twig' %}
{% form_theme form.weightLimitToRate '@WebgriffeSyliusTableRateShippingPlugin/TableRateCrud/_weightLimitToRateTheme.html.twig' %}

0 comments on commit dfbaaba

Please sign in to comment.