Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- before_filter :cta_job_hunter, :except => [ :index ]
- ...
- ...
- ...
- # call to action al aplicar para que llenen el trabajo perfecto
- def cta_job_hunter
- @user = User.find_by_id(current_user.id)
- if @user.job_hunter==nil
- redirect_to "/job_requests/new"
- end
- end
Add Comment
Please, Sign In to add comment