diff options
author | Sergey Alekseev <sergey.alekseev.minsk@gmail.com> | 2014-12-05 16:21:17 +0300 |
---|---|---|
committer | Sergey Alekseev <sergey.alekseev.minsk@gmail.com> | 2014-12-05 16:21:17 +0300 |
commit | 198b1dd201f7fff5aad696273f731c0b204996d5 (patch) | |
tree | 43a48a100f8657cbc816510579e1f442f56831c0 /actionpack | |
parent | db00c5b7a4ffe34ef8879b42e252890659750b46 (diff) | |
download | rails-198b1dd201f7fff5aad696273f731c0b204996d5.tar.gz rails-198b1dd201f7fff5aad696273f731c0b204996d5.tar.bz2 rails-198b1dd201f7fff5aad696273f731c0b204996d5.zip |
remove unused `#optional_parts`
This method was copied from journey at https://github.com/rails/rails/commit/56fee39c392788314c44a575b3fd66e16a50c8b5#diff-2cfaf53c860732fea8689d6f2002594bR78.
`grep -nr 'optional_parts' .`
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/route.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb index 3b609a184d..4d5c18984a 100644 --- a/actionpack/lib/action_dispatch/journey/route.rb +++ b/actionpack/lib/action_dispatch/journey/route.rb @@ -68,10 +68,6 @@ module ActionDispatch @path_formatter.evaluate path_options end - def optional_parts - path.optional_names.map(&:to_sym) - end - def required_parts @required_parts ||= path.required_names.map(&:to_sym) end |