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
{{ message }}
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
Can you show us an example with a post, including the erb? Specifically I am looking for taking some from data and inputting it into a db via sinatra-sequel. I am currently doing something like this:
post '/settings/keys' do
@keys = Keys
Keys.insert(:key => params[:key], :value => params[:value])
erb :settings_keys
end
Can you show us an example with a post, including the erb? Specifically I am looking for taking some from data and inputting it into a db via sinatra-sequel. I am currently doing something like this: