diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-11-22 00:44:10 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-11-22 00:44:10 +0530 |
commit | 1a2eb04566556bcbc70da1f731f4e9a711e213d6 (patch) | |
tree | 7397b051b895800516e50de3be1173d8f840f083 | |
parent | d82588ee4756b03025813b3997f4db171ee0fcdc (diff) | |
download | rails-1a2eb04566556bcbc70da1f731f4e9a711e213d6.tar.gz rails-1a2eb04566556bcbc70da1f731f4e9a711e213d6.tar.bz2 rails-1a2eb04566556bcbc70da1f731f4e9a711e213d6.zip |
Remove unused param `title`to `TransitionTable#visualizer`
-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') |