diff --git a/README.md b/README.md index f9eb2ca..93df209 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,26 @@ $ php yii migrate --migrationPath=@yiier/actionStore/migrations/ Usage ----- -Once the extension is installed, simply use it in your code by : +OConfigure Controller class as follows : : ```php -``` \ No newline at end of file +use yiier\actionStore\actions\ActionAction; + +class TopicController extends Controller +{ + public function actions() + { + return [ + 'do' => [ + 'class' => ActionAction::className(), + ] + ]; + } + } +``` + + Url + +```html +http://xxxxxxxxxxxxxx/topic/do?type=clap&model=topic&model_id=1 +``` \ No newline at end of file