summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
blob: b8c3f468c7bfd7ac3f4c591ecf1919a6b1f7aa04 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

# The father class of all controllers.
class ApplicationController < ActionController::API
  def logic
    Object.const_get("#{self.class}::#{action_name.camelize}Logic")
  end
end