BHON-18 Putting filter for using CSRF protection

CSRF or Cross-site request forgery, is the one of attack way so we need to protect data while send to our system via POST action that Laravel has it that we need enable it by creating a filter like 

 $this->beforeFilter('csrf', array('on'=>'post')); 

and when we click to view source in browser we will see the token is added to every form in each controller that contain this filter. 

You can see more information at 

http://en.wikipedia.org/wiki/Cross-site_request_forgery

http://laravel.com/docs/html#csrf-protection