Permalink
Browse files

Merge pull request #929 from icco/patch-1

Fixing some small grammar in the routing class.
  • Loading branch information...
2 parents df97bd1 + ba03869 commit 794b6b70278dc8bfd9a35809ae8e36f82247d3a2 @nesquena nesquena committed Sep 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 padrino-core/lib/padrino-core/application/routing.rb
@@ -166,7 +166,7 @@ def registered(app)
# Class methods responsible for enhanced routing for controllers.
module ClassMethods
##
- # Method for organize in a better way our routes.
+ # Method to organize our routes in a better way.
#
# @param [Array] args
# Controller arguments.
@@ -237,8 +237,8 @@ module ClassMethods
# get :index, :map => "/:lang" do; "params[:lang] == :de"; end
# end
#
- # In a controller before and after filters are scoped and didn't affect other controllers or main app.
- # In a controller layout are scoped and didn't affect others controllers and main app.
+ # In a controller, before and after filters are scoped and don't affect other controllers or the main app.
+ # In a controller, layouts are scoped and don't affect other controllers or the main app.
#
# @example
# controller :posts do

0 comments on commit 794b6b7

Please sign in to comment.