Sha256: a5e5a6a1716eb8e4508cdd45c0290b638520fc7b849a8db87d6a60654e369fc1

Contents?: true

Size: 193 Bytes

Versions: 24

Compression:

Stored size: 193 Bytes

Contents

module ActionController #:nodoc:
  class Base
    # adding to ActionController::Base so it can overrided in ApplicationController
    def deny_access
      head :unauthorized
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_scaffold-3.3.0 lib/active_scaffold/extensions/action_controller_rescueing.rb
active_scaffold-3.3.0.rc3 lib/active_scaffold/extensions/action_controller_rescueing.rb
active_scaffold-3.3.0.rc2 lib/active_scaffold/extensions/action_controller_rescueing.rb
active_scaffold-3.3.0.rc lib/active_scaffold/extensions/action_controller_rescueing.rb