public function store(PublishStatusRequest $request) { $this->dispatch(new PublishStatusCommand($request->all())); Flash::info('Your status has been updated'); // Redirects back to the page that submitted the form return Redirect::back(); }
public function store(PublishStatusRequest $request) { $this->dispatch(new PublishStatusCommand($request->all())); Flash::info('Your status has been updated'); // Redirects back to the page that submitted the form return Redirect::back(); }