Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
catmando opened this issue Nov 17, 2018 · 0 comments
Closed

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

catmando opened this issue Nov 17, 2018 · 0 comments
Labels
bug Something isn't working ready-to-release Internal Use Only: Has been fixed, specs passing and pushed to edge branch
Milestone

Comments

@catmando
Copy link
Contributor

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

@catmando catmando added the bug Something isn't working label Dec 7, 2018
@catmando catmando added this to the alpha1.3 milestone Dec 7, 2018
@catmando catmando added the ready-to-release Internal Use Only: Has been fixed, specs passing and pushed to edge branch label Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-to-release Internal Use Only: Has been fixed, specs passing and pushed to edge branch
Projects
None yet
Development

No branches or pull requests

1 participant