Skip to content

Instantly share code, notes, and snippets.

@sushant12
Created June 2, 2017 09:10
Show Gist options
  • Save sushant12/7aab6b8b7bf7de14c0af45962bdbe5b9 to your computer and use it in GitHub Desktop.
Save sushant12/7aab6b8b7bf7de14c0af45962bdbe5b9 to your computer and use it in GitHub Desktop.
edit and update the task
elsif(env[‘PATH_INFO’] == ‘/edit’)
req = Rack::Request.new(env)
id = req.params[‘id’]
view = TemplateView.edit_view(id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment