Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- match '/login' => 'admin/calendars#index' # this one should actually work, but fails:
- The recognized options <{"controller"=>"errors", "action"=>"handle404", "a"=>"login"}> did not match <{"controller"=>"go", "action"=>"index"}>, difference: <{"controller"=>"go", "action"=>"index", "a"=>"login"}>.
- # the specific controller#route does exist. However, even if it didn't it should fail in the same way the next one does, considering that the specified route there ('calendars#index') does not exist. But that doesn't matter -- it's only supposed to test that the mapping works.
- match '/login' => 'calendars#index' #this one fails as expected:
- The recognized options <{"controller"=>"calendars", "action"=>"index"}> did not match <{"controller"=>"go", "action"=>"index"}>, difference: <{"controller"=>"go"}>
Add Comment
Please, Sign In to add comment