Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function postAddMember()
- {
- //get Input data
- $r=Input::all();
- //validate
- if($this->recentAssignment->validateInput($r))
- {
- if( $this->recentAssignment->createRecentAssignment($r))
- {
- return Redirect::to('project/detail/'.$r['project_id'])->with('tab_id', 'member');
- }
- else
- {
- return Redirect::to('error');
- }
- }
- }
- //
- @if(Session::has('tab_id'))
- AJS.tabs.change(AJS.$("a[href=#{{Session::get('tab_id')}}]"));
- @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement