mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #12990 from vipulnsward/remove_visualizer_param"
This reverts commit5a19346d28
, reversing changes made tod82588ee47
. This argument is being used in the view5a19346d28/actionpack/lib/action_dispatch/journey/visualizer/index.html.erb (L4)
It is being set using the binding5a19346d28/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb (L108)
This commit is contained in:
parent
5a19346d28
commit
b39b3652e1
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module ActionDispatch
|
||||||
svg.join.sub(/width="[^"]*"/, '').sub(/height="[^"]*"/, '')
|
svg.join.sub(/width="[^"]*"/, '').sub(/height="[^"]*"/, '')
|
||||||
end
|
end
|
||||||
|
|
||||||
def visualizer(paths)
|
def visualizer(paths, title = 'FSM')
|
||||||
viz_dir = File.join File.dirname(__FILE__), '..', 'visualizer'
|
viz_dir = File.join File.dirname(__FILE__), '..', 'visualizer'
|
||||||
fsm_js = File.read File.join(viz_dir, 'fsm.js')
|
fsm_js = File.read File.join(viz_dir, 'fsm.js')
|
||||||
fsm_css = File.read File.join(viz_dir, 'fsm.css')
|
fsm_css = File.read File.join(viz_dir, 'fsm.css')
|
||||||
|
|
Loading…
Reference in a new issue