               # state has been updated so all we need to do is update
               # the route
               if currentState isnt oldState
+
                 oldState = currentState
                 shouldBePath = Apollos.Router.path(currentState)
                 hasRoute = shouldBePath.indexOf("/") > -1

              # loop through all cards states to see if they have urls
              # that we need to setup
              for name, state of card.states

                if state.url?()
                  obj =
                    name: name

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


            if not @.data?.noUrls

              ###

                Here we parse the url on creation of the card.
