You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the customization documentation, I created my own surveyor_controller.rb to specify use of the application layout. This broke the surveyor_gui js file on line 15.
It should be mentioned under Views in the readme, that when building your own layout, there needs to be an anchor point (#surveyor_gui_mount_point) for the js file.
Updated: Also the data-attribute having underscores is non-standard. The default for HAML 4.0+ is dashes. To get the underscores, I had to put Haml::Template.options[:hyphenate_data_attrs] = false into a config initializer.
The text was updated successfully, but these errors were encountered:
As per the customization documentation, I created my own
surveyor_controller.rb
to specify use of the application layout. This broke the surveyor_gui js file on line 15.It should be mentioned under Views in the readme, that when building your own layout, there needs to be an anchor point (
#surveyor_gui_mount_point
) for the js file.Updated: Also the data-attribute having underscores is non-standard. The default for HAML 4.0+ is dashes. To get the underscores, I had to put
Haml::Template.options[:hyphenate_data_attrs] = false
into a config initializer.The text was updated successfully, but these errors were encountered: