Sha256: 4e91861b3c2cc712783677056e7153a3d4e12b3bfb4525a3e42a63f519879148

Contents?: true

Size: 289 Bytes

Versions: 7

Compression:

Stored size: 289 Bytes

Contents

begin
  ApplicationController.send(:public, :logged_in?, :current_<%= file_name %>, :authorized?)
rescue NameError => e
  puts "An exception occurred: #{e}"
  puts 'Did you forget to move "include AuthenticatedSystem" from sessions_controller.rb to application_controller.rb?'
  exit!
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jeremydurham-restful_authentication-1.1.7 generators/authenticated/templates/features/step_definitions/ra_env.rb
restful_authentication-1.1.6 generators/authenticated/templates/features/step_definitions/ra_env.rb
jeremydurham-restful_authentication-1.1.6 generators/authenticated/templates/features/step_definitions/ra_env.rb
jeremydurham-restful_authentication-1.1.5 generators/authenticated/templates/features/step_definitions/ra_env.rb
jeremydurham-restful_authentication-1.1.4 generators/authenticated/templates/features/step_definitions/ra_env.rb
jeremydurham-restful_authentication-1.1.3 generators/authenticated/templates/features/step_definitions/ra_env.rb
jeremydurham-restful_authentication-1.1.2 generators/authenticated/templates/features/step_definitions/ra_env.rb