               # loop through all cards states to see if they have urls
               # that we need to setup
               for name, state of card.states
-
+                console.log state.url()
                 if state.url?()
                   obj =
                     name: name

                if state.middlewares
                  routeObj.middlewares = state.middlewares

                # make the route
                Apollos.Router.route("/#{route}", routeObj)


            if @.data?.state
              component["state"].set @.data.state


            if not @.data?.noUrls

              ###

                Here we parse the url on creation of the card.
