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

"Value not found for type martini.Route" when injecting into templateFunc #24

Open
cryptix opened this issue May 5, 2014 · 2 comments

Comments

@cryptix
Copy link

cryptix commented May 5, 2014

Hi,

after seeing go-martini/martini@6779472 i tried to build menus based on the active route. I sucessfully used the approach suggested in #3 for some other helpers and now tried to inject the current Route but I get a "Value not found" panic. I posted a small example here.

ps: i wasn't sure if i should post this on this repo or go-martini, because i couldn't make sense of the stacktrace and don't know if this issue is directly related to render but i guess so because i can use the injected route in normal request handlers.

@ronna-s
Copy link

ronna-s commented Nov 26, 2014

+1

@luiscarrasco
Copy link

Did anybody come to a solution about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants