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