Sha256: 6c314a75d7e9c81a0aed623a102e0c9b016b13074f382eb67f9e00b868d9aaec

Contents?: true

Size: 249 Bytes

Versions: 19

Compression:

Stored size: 249 Bytes

Contents

class DefaultController < ApplicationController
  before_filter :get_user
  
  def get_user
    # a bit of a hack but this grabs the 'other_user' stubbed out in the test and makes @user available to helper methods
    @user = other_user
  end
  
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
muck-friends-3.0.3 test/rails_test/app/controllers/default_controller.rb
muck-friends-3.0.2 test/rails_test/app/controllers/default_controller.rb
muck-friends-3.0.0 test/rails_test/app/controllers/default_controller.rb
muck-friends-0.1.17 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.16 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.15 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.14 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.13 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.12 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.11 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.10 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.5 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.6 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.7 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.8 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.9 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.2 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.3 test/rails_root/app/controllers/default_controller.rb
muck-friends-0.1.4 test/rails_root/app/controllers/default_controller.rb