This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/stickyStateProvider.js b/src/stickyStateProvider.js | |
index 800c16a..1d89f09 100644 | |
--- a/src/stickyStateProvider.js | |
+++ b/src/stickyStateProvider.js | |
@@ -109,6 +109,16 @@ function $StickyStateProvider($stateProvider) { | |
}); | |
return states; | |
}, | |
+ clearInactiveState: function (name) { | |
+ var state = inactiveStates[name]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('DispatcherFilter', 'Routing'); | |
class CorsFilter extends DispatcherFilter { | |
public function beforeDispatch(CakeEvent $event) { | |
if ($event->data['request']->is('OPTIONS')) { | |
$event->stopPropagation(); | |
$event->data['response']->header(array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Selective validation behavior | |
* | |
* @copyright ADmad | |
* @link https://github.com/ADmad | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
*/ | |
class SelectiveValidationBehavior extends ModelBehavior { |
NewerOlder