Please sign in to comment.
Simplify logic to initialize valid conditions in RouteSet
Remove :to_sym call from public_instance_methods iteration, as such methods in Ruby 1.9 already return symbols. Initialize valid conditions with controller/action instead of setting them afterwards.
- Loading branch information...
Showing with 3 additions and 7 deletions.