mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #12990 from vipulnsward/remove_visualizer_param
Remove unused param `title`to `TransitionTable#visualizer`
This commit is contained in:
commit
5a19346d28
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue