Skip to content

ArgumentError: No Action :test on #<Hello:0x00000003f48820> #13

@tablecell

Description

@tablecell
require 'innate'

class Hello
  Innate.node '/'
  provide :html, :engine => :ERB


  def index
 
 
  '  <form action="save" method="post">  <input  name="user" /> <button>send</button>   </form> '
  
  end

def save 
  request.params.inspect

   render_view :test
end 

end

Innate.start

view/test.erb

<h1> test </h1>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions