Commits

Brad Chapman committed e7178dd

Rename history retrieval to reflect multiple sessions: most_recently_used

  • Participants
  • Parent commits 2bfdbe0

Comments (0)

Files changed (1)

File lib/galaxy/webapps/galaxy/api/histories.py

         """
         GET /api/histories/{encoded_history_id}
         GET /api/histories/deleted/{encoded_history_id}
-        GET /api/histories/current
+        GET /api/histories/most_recently_used
         Displays information about a history.
         """
         history_id = id
                     rval[item['state']] = rval[item['state']] + 1
             return rval
         try:
-            if history_id == "current":
+            if history_id == "most_recently_used":
                 if trans.user and len(trans.user.galaxy_sessions) > 0:
                     # Most recent active history for user sessions, not deleted
                     history = trans.user.galaxy_sessions[0].histories[-1].history