Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
NOTICE: official repository moved to https://github.com/sikachu/hide_action
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/action_controller
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb

README

HideActions
===========

ActionController::HideActions adds the ability to prevent public methods on a controller
to be called as actions.


Example
=======

  class NonEmptyController < ActionController::Base
    def public_action
      render :nothing => true
    end

    hide_action :hidden_action
    def hidden_action
    end
  end


Copyright (c) 2010 David Heinemeier Hansson, released under the MIT license
Something went wrong with that request. Please try again.