Closed fyarad closed 11 years ago
can you please paste in the line of code from your router that handles this route
get "v1/passes/event_passbook" => "Passbook::passes#get_pkpass", :defaults => {:pass_type_id => "pass.nixter.GuestList"}
You're missing the :id
get "v1/passes/eventpassbook/:id_"
On Tue, Dec 4, 2012 at 3:20 PM, fyarad95 notifications@github.com wrote:
get "v1/passes/event_passbook" => "Passbook::passes#get_pkpass", :defaults => {:pass_type_id => "pass.nixter.GuestList"}
— Reply to this email directly or view it on GitHubhttps://github.com/xtremelabs/xl-passbook-ruby/issues/7#issuecomment-11013938.
*
Roland Lopes Agile Engineer Tel: 416.879.5460 Email: rlopes@xtremelabs.com Skype: roland-xtreme
*
thanks for your help!
but still got the same error....
Should I have at least one row on the table "event_passbooks" that the gem created to test it? I'm testing it on the iphone simulator
Let's take this off list, contact me on xtreme email.
On Tue, Dec 4, 2012 at 3:40 PM, fyarad95 notifications@github.com wrote:
thanks for your help!
but still got the same error....
Should I have at least one row on the table "event_passbooks" that the gem created to test it? I'm testing it on the iphone simulator
— Reply to this email directly or view it on GitHubhttps://github.com/xtremelabs/xl-passbook-ruby/issues/7#issuecomment-11014737.
*
Roland Lopes Agile Engineer Tel: 416.879.5460 Email: rlopes@xtremelabs.com Skype: roland-xtreme
*
Spelling mistake, should be:
get "v1/passes/event_passbook" => "Passbook::Passes#get_pkpass", :defaults => {:pass_type_id => "pass.nixter.GuestList"}
Oooh yes! Now is working!! thanks!!
i get this on http://localhost:3000/v1/passes/event_passbook/ABC123
ActionController::RoutingError (wrong constant name passesController):
any idea??
thanks.