Commit ee347456 by liyijie

use autoload for responder

parent 706f6644
......@@ -5,9 +5,9 @@ require 'responders'
require 'ransack'
require 'inherited_resources'
require 'pundit'
require 'simple_controller/responder'
module SimpleController
autoload :VERSION, 'simple_controller/version'
autoload :BaseController, 'simple_controller/base_controller'
autoload :Responder, 'simple_controller/responder'
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment