Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.416 kB
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
Jump to Line
Something went wrong with that request. Please try again.