We've moved discussions to Discord

Routing error

Jason Hobbs
I go to add pricing plans and I get:
No route matches [GET] "/admin/plans"
I see it in routes though.
Jason Hobbs
Started GET "/admin/plans" for ::1 at 2019-06-19 07:57:39 -0500
  User Load (0.8ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]

ActionController::RoutingError (No route matches [GET] "/admin/plans"):
Jason Hobbs
Nevermind, got it.  Have to be admin.  Link to add plans being shown when you are not an admin confused me.
Jason Hobbs
I go to add pricing plans and I get:
No route matches [GET] "/admin/plans"
I see it in routes though.
Jason Hobbs
Started GET "/admin/plans" for ::1 at 2019-06-19 07:57:39 -0500
  User Load (0.8ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]

ActionController::RoutingError (No route matches [GET] "/admin/plans"):
Jason Hobbs
Nevermind, got it.  Have to be admin.  Link to add plans being shown when you are not an admin confused me.
Notifications
You’re not receiving notifications from this thread.
© 2023 Jumpstart Pro by GoRails, LLC