Sha256: c78132180d7b435f6440bb1727b143322e42d023cd1748547c622a004b3b5130
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
class AuthenticatedController < ApplicationController if respond_to?(:before_filter) && !respond_to?(:before_action) class << self alias :before_action :before_filter end end before_action :authenticate_user! def index end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
derailed_benchmarks-1.3.2 | test/rails_app/app/controllers/authenticated_controller.rb |