Closed perlun closed 9 years ago
Big :+1: was struggling with this yesterday and thought it was my local setup. Good to walk in today and see a well-written explanation and PR!
(and just FWIW I applied this fix locally and verified both generate
and destroy
are fixed.)
Thank you very much for looking in to and finding the time to work this one out!
Thanks again - this has now been released with version 1.13.0, along with updates to all the blueprints. Sorry about the wait.
Well, I kind of had to look into it to avoid errors when running ember generate
. :wink: But thanks! Great to have a new version out.
With the most recent versions of
ember-cli
, you get exceptions like this when doingember destroy route
orember generate route
.The problem was that
shouldTouchRouter
now assumes that it will get theoptions
object passed in as a parameter. This commit fixes this. (thanks to @mriska for helping me out to nail this one down)