title: Getting a . instead of a / in my link(path)
body: <pre><code># GET system_accounts/:id
    def show 
      # If a system account already exists in session, it was found from a search with the account id
      # Otherwise, this is a new search for a system account by the given id
      if params[:id]
        Rails.logger.debug { "Querying for the account with id: #{params[:id]}" }
        response = query_account(CGI.escape(params[:id]))
      if response.is_a?(Net::HTTPSuccess)
          @account = JSON.parse(response.body)
      unless @account.empty?
        redirect_to system_accounts_path(params[:id])        
      end 
      end
  </code></pre>
  
  <p>The above is my show action. So the thing is if i search with my id=2 i should get the resultant link to be system_accounts/2 but what i get is system_accounts.2 . why a . instead of a / . Anything i am missing out on ? </p>