def matches?(request)
      env = request.env

      @participatory_space = env["decidim.current_participatory_space"]
      return false unless @participatory_space

      current_component(env, request.params) ? true : false
    end
def matches?(request)
      env = request.env

      @participatory_space = env["decidim.current_participatory_space"]
      return false unless @participatory_space

      current_component(env, request.params) ? true : false
    end
Public: Initializes the class.

 manifest - The manifest of the component to check against.
 Public: Matches the request against a component and injects it into the
         environment.

 request - The request that holds the current component relevant information.

 Returns a true if the request matched, false otherwise