Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

We need more examples please.  #11

@brandon-dacrib

Description

@brandon-dacrib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions