app/controllers/resque_web/application_controller.rb in resque-web-0.0.4 vs app/controllers/resque_web/application_controller.rb in resque-web-0.0.5

- old
+ new

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