Skip to content

Instantly share code, notes, and snippets.

@radar
Forked from anonymous/create.rb
Created January 27, 2012 04:18
Show Gist options
  • Select an option

  • Save radar/1686960 to your computer and use it in GitHub Desktop.

Select an option

Save radar/1686960 to your computer and use it in GitHub Desktop.
def create
@device = Device.new(params[:device].merge(:user => current_user))
respond_with @device
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment