app/controllers/resque_web/application_controller.rb in resque-web-0.0.8 vs app/controllers/resque_web/application_controller.rb in resque-web-0.0.9

- old
+ new

@@ -1,8 +1,8 @@ module ResqueWeb class ApplicationController < ActionController::Base protect_from_forgery - before_filter :set_subtabs, :authorize + before_action :set_subtabs, :authorize helper :all def self.subtabs(*tab_names) return defined?(@subtabs) ? @subtabs : [] if tab_names.empty?