Skip to content

router's render method will not accept a simple string #64

Closed
@catmando

Description

@catmando

This does not work:

  class App < HyperComponent
    include Hyperstack::Router
    render do
        "Number of Todos: #{Todo.count}" 
    end
  end

Must be something in the way the router module monkey patches the render method

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions