app/controllers/motor/ui_controller.rb in motor-admin-0.1.47 vs app/controllers/motor/ui_controller.rb in motor-admin-0.1.48
- old
+ new
@@ -2,9 +2,11 @@
module Motor
class UiController < ApplicationController
layout 'motor/application'
+ helper_method :current_user
+
def index
Motor.reload! if Motor.development?
Motor::Configs::SyncFromFile.call