Skip to content

Instantly share code, notes, and snippets.

@akinsgre
Last active December 15, 2015 17:09
Show Gist options
  • Select an option

  • Save akinsgre/5294661 to your computer and use it in GitHub Desktop.

Select an option

Save akinsgre/5294661 to your computer and use it in GitHub Desktop.
$("#configure_configuration_div")
.load('/devices/<%= @device.id %>/configurations/new',
function() {
$(this).css({height:'auto' });
followForm();
});
class WizardsController < ApplicationController
layout 'config'
def start
puts "Are we rendering this"
@device = current_user.devices[0]
respond_to do |format|
format.js {
puts "##### Render"
render 'form'
}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment