crud
crud copied to clipboard
Make redirect variable name configureable
This patch makes redirect variable name configurable via:
$action->setConfig('redirectVar', 'new_value');
Default value of 'redirect_url' for backward compatibility
Codecov Report
Base: 88.84% // Head: 89.25% // Increases project coverage by +0.40%
:tada:
Coverage data is based on head (
d65004e
) compared to base (77a7305
). Patch coverage: 55.55% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## master #686 +/- ##
============================================
+ Coverage 88.84% 89.25% +0.40%
Complexity 379 379
============================================
Files 36 36
Lines 1076 1182 +106
============================================
+ Hits 956 1055 +99
- Misses 120 127 +7
Impacted Files | Coverage Δ | |
---|---|---|
src/Traits/RedirectTrait.php | 63.33% <55.55%> (+1.26%) |
:arrow_up: |
src/Core/ProxyTrait.php | 63.15% <0.00%> (-7.44%) |
:arrow_down: |
src/Listener/RelatedModelsListener.php | 66.21% <0.00%> (-3.49%) |
:arrow_down: |
src/Action/AddAction.php | 100.00% <0.00%> (ø) |
|
src/Action/EditAction.php | 100.00% <0.00%> (ø) |
|
src/Action/Bulk/DeleteAction.php | 100.00% <0.00%> (ø) |
|
src/Error/Exception/ValidationException.php | 100.00% <0.00%> (ø) |
|
src/Listener/ApiListener.php | 98.46% <0.00%> (+0.07%) |
:arrow_up: |
src/Listener/ApiQueryLogListener.php | 96.55% <0.00%> (+0.39%) |
:arrow_up: |
src/Action/BaseAction.php | 96.26% <0.00%> (+0.47%) |
:arrow_up: |
... and 10 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.