spec/app_root/app/controllers/application_controller.rb in consul-0.1.0 vs spec/app_root/app/controllers/application_controller.rb in consul-0.1.1
- old
+ new
@@ -1,3 +1,12 @@
class ApplicationController < ActionController::Base
+ include Consul::Controller
+ require_power_check
+
+ private
+
+ def current_power
+ Power.new User.new
+ end
+
end