app/controllers/manage/dashboard_controller.rb in hackathon_manager-0.13.0 vs app/controllers/manage/dashboard_controller.rb in hackathon_manager-0.13.1
- old
+ new
@@ -1,5 +1,8 @@
class Manage::DashboardController < Manage::ApplicationController
+ skip_before_action :require_admin_or_limited_admin
+ before_action :require_admin_or_limited_admin_or_event_tracking
+
def index
end
def map_data
@schools = School.where("questionnaire_count", 1..Float::INFINITY).select([:city, :state, :questionnaire_count])