Skip to content

Commit

Permalink
Added documentation for the dispatch method for controllers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodd committed Jun 24, 2008
1 parent b1c5acf commit e426ebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/halcyon/controller.rb
Expand Up @@ -17,6 +17,10 @@ def initialize(env)
@request = Rack::Request.new(@env)
end

# Used internally.
#
# Dispatches the action specified, including all filters.
#
def _dispatch(action)
apply_filters(:before, action)
response = send(action)
Expand Down

0 comments on commit e426ebc

Please sign in to comment.