elixir-web / weber

[WiP] Web framework for Elixir inspired by Rails [#WeberMVC at freenode]
http://elixir-web.github.io/weber/
MIT License
372 stars 33 forks source link

Action 'new' is not routing to correct controller action #148

Closed darkofabijan closed 10 years ago

darkofabijan commented 10 years ago

It fails with following exception - https://gist.github.com/darkofabijan/65650b6b7bba8a44d308

Example application/test to replicate bug - https://github.com/darkofabijan/trash/blob/master/test/response_test.exs#L19

0xAX commented 10 years ago

@darkofabijan,

Will try to reproduce at my workstation.

0xAX commented 10 years ago

weird, can't reproduce, will try to reproduce with your repo

darkofabijan commented 10 years ago

@0xAX Ok. I will try to write test.

0xAX commented 10 years ago

@darkofabijan caught it, will try to fix

0xAX commented 10 years ago

@darkofabijan pushed update.

Waiting for feedback.

darkofabijan commented 10 years ago

Thanks! I will test it tomorrow. Can you maybe suggest a way to write a test for this?

darkofabijan commented 10 years ago

I can confirm that this bug is fixed. :+1: