Skip to content

Commit

Permalink
Detect Rails 3 style routes scope
Browse files Browse the repository at this point in the history
  • Loading branch information
tadast committed Dec 14, 2012
1 parent 31e6592 commit badddb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ruby on Rails.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
</dict>
<dict>
<key>begin</key>
<string>(^\s*)ActionController::Routing::Routes</string>
<string>::Application.routes.draw</string>
<key>comment</key>
<string>Uses ActionController::Routing::Routes to determine it is a routes file; includes 'source.ruby' to avoid infinite recursion</string>
<key>end</key>
Expand Down

0 comments on commit badddb0

Please sign in to comment.