/** * update existing activity * @param Request $request * @param $club * @param $activity * @return \Illuminate\Http\RedirectResponse */ public function update(Request $request, $club, $activity) { $activity = ClubActivities::findOrFail($activity); $activity->update($request->all()); return \Redirect::action('Manage\\ActivityController@index', ['club' => $club]); }
public function show($club, $activity) { return ClubActivities::findOrFail($activity); }