You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/18 19:24:34 UTC

[jira] [Commented] (COUCHDB-2415) Change route from _views back to _view

    [ https://issues.apache.org/jira/browse/COUCHDB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216544#comment-14216544 ] 

ASF GitHub Bot commented on COUCHDB-2415:
-----------------------------------------

GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/158

    Fix URL paths for Views to be _view not _views

    This changes the URL paths for Views within Fauxton for compatibility
    with the API URLs. To test, just create/edit a View and confirm the URL
    ends with /_view/theViewName not /_views/theViewName
    
    Closes COUCHDB-2415

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benkeen/couchdb-fauxton 2415-fix-view-url-paths-in-fauxton

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/158.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #158
    
----
commit 6a452d82326bf3a1a535baaf28bc0c96305f7af7
Author: Benjamin Keen <be...@gmail.com>
Date:   2014-11-18T18:22:36Z

    Fix URL paths for Views to be _view not _views
    
    This changes the URL paths for Views within Fauxton for compatibility
    with the API URLs.To test, just create/edit a View and confirm the URL
    ends with /_view/theViewName not _views/theViewName
    
    Closes COUCHDB-2415

----


> Change route from _views back to _view
> --------------------------------------
>
>                 Key: COUCHDB-2415
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2415
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Robert Kowalski
>            Assignee: Ben Keen
>
> At some point http://localhost:8000/#database/newdatabase/_design/sdfsdfsddfhfdhdfh/_view/newView was changed to http://localhost:8000/#database/newdatabase/_design/sdfsdfsddfhfdhdfh/_views/newView which has the drawback that you can not copy & paste the url and then just add the root url of the couch to see the view in json (the couch api url would be: http://localhost:8000/newdatabase/_design/sdfsdfsddfhfdhdfh/_view/newView



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)