Sha256: aab97cb3e289eb1d246191671309c49fde625a9bd9f5b7b211edd981652acc80

Contents?: true

Size: 227 Bytes

Versions: 15

Compression:

Stored size: 227 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  
  before_filter :find_organism
  
  protected
  
  def find_organism
     @organism = Organism.find_or_create_by(title:'Mon association')
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
adherent-0.3.0 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.9 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.8 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.7 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.6 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.5 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.4 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.3 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.2.4 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.2.3 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.2.2 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.2.1 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.2 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.1 spec/dummy/app/controllers/application_controller.rb
adherent-0.2.0 spec/dummy/app/controllers/application_controller.rb