Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (15 sloc) 0.416 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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.