Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # features/support/application_controller.rb
- class ApplicationController < ActionController::Base
- prepend_before_filter :stub_current_user
- def stub_current_user
- session[:applicant_id] = cookies[:applicant_id] if cookies[:applicant_id]
- end
- end
Add Comment
Please, Sign In to add comment