Hide_actions is a project mainly written in Ruby, based on the MIT license.
ActionController::HideActions adds the ability to prevent public methods on a controller to be called as actions.
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