diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-21 11:19:42 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-21 11:19:42 -0800 |
commit | 5a19346d2855ecb1c791cdef3af92589566d00db (patch) | |
tree | 7397b051b895800516e50de3be1173d8f840f083 /actionpack/lib/action_dispatch/journey | |
parent | d82588ee4756b03025813b3997f4db171ee0fcdc (diff) | |
parent | 1a2eb04566556bcbc70da1f731f4e9a711e213d6 (diff) | |
download | rails-5a19346d2855ecb1c791cdef3af92589566d00db.tar.gz rails-5a19346d2855ecb1c791cdef3af92589566d00db.tar.bz2 rails-5a19346d2855ecb1c791cdef3af92589566d00db.zip |
Merge pull request #12990 from vipulnsward/remove_visualizer_param
Remove unused param `title`to `TransitionTable#visualizer`
Diffstat (limited to 'actionpack/lib/action_dispatch/journey')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/gtg/transition_table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb b/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb index 5a79059ed6..e8c4533522 100644 --- a/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb +++ b/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb @@ -69,7 +69,7 @@ module ActionDispatch svg.join.sub(/width="[^"]*"/, '').sub(/height="[^"]*"/, '') end - def visualizer(paths, title = 'FSM') + def visualizer(paths) viz_dir = File.join File.dirname(__FILE__), '..', 'visualizer' fsm_js = File.read File.join(viz_dir, 'fsm.js') fsm_css = File.read File.join(viz_dir, 'fsm.css') |