1
0
Fork 0
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:
Rafael Mendonça França 2013-11-21 11:19:42 -08:00
commit 5a19346d28

View file

@ -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')