resque / resque-web

a Rails-based web interface to Resque
235 stars 166 forks source link

before_action doesn't work in rails 3 #129

Closed arianf closed 7 years ago

arianf commented 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.

kirillplatonov commented 7 years ago

@arianf unfortunately, this gem not supports rails 3. Rails 3 is not maintained by Rails team anymore