Sha256: 187ac0f0adf950414b6577b842e9bf6d4a685ea6f80cec30a792ed8c45adeeaa

Contents?: true

Size: 252 Bytes

Versions: 8

Compression:

Stored size: 252 Bytes

Contents

class StudyEngine::ApplicationController < ::ApplicationController
  helper Helpers

  protect_from_forgery with: :exception

  def self.expose *methods
    methods.each do |method|
      attr_reader method
      helper_method method
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
study_engine-0.3.1 app/controllers/study_engine/application_controller.rb
study_engine-0.3.0 app/controllers/study_engine/application_controller.rb
study_engine-0.2.2 app/controllers/study_engine/application_controller.rb
study_engine-0.2.1 app/controllers/study_engine/application_controller.rb
study_engine-0.2.0 app/controllers/study_engine/application_controller.rb
study_engine-0.1.1 app/controllers/study_engine/application_controller.rb
study_engine-0.1.0 app/controllers/study_engine/application_controller.rb
study_engine-0.0.2 app/controllers/study_engine/application_controller.rb