Closed arianf closed 7 years ago
module ResqueWeb class ApplicationController < ActionController::Base protect_from_forgery before_action :set_subtabs, :authorize
module ResqueWeb class WorkersController < ResqueWeb::ApplicationController before_action :display_subtabs
before_action doesn't work in Rails 3, changing this to before_filter makes it function correctly.
before_action
before_filter
@arianf unfortunately, this gem not supports rails 3. Rails 3 is not maintained by Rails team anymore
before_action
doesn't work in Rails 3, changing this tobefore_filter
makes it function correctly.