laravel-shift/blueprint

Controller Short code

malsgit opened this issue · 2 comments

Not a bug or a request and I don't do twitter...!

when using short code on the Controller, how do you get it to generate notification, send or redirect, when doing the following...

ControllerName:
     resources: web 

is it not something like this, as that seems to break stuff....

ControllerName:
    resource: web
    notify: controller_name.user_id
    send: ReviewNotification to:controller_name.user_id with:controller_name
    redirect: controller_name.index

You can't put statements top level like that. They need to be underneath an action. I believe you can use resource and overwrite an individual method.

Best to read the docs.

You can't put statements top level like that. They need to be underneath an action. I believe you can use resource and overwrite an individual method.

Best to read the docs.

Thought so, i was just checking to see if you could or not :-)