Commit 278b0c8c authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[ROUTER] Fix ordering of corpus routes

parent 2e6a1b43
...@@ -34,8 +34,8 @@ routing = oneOf ...@@ -34,8 +34,8 @@ routing = oneOf
, SearchView <$ route "search" , SearchView <$ route "search"
, AddCorpus <$ route "addCorpus" , AddCorpus <$ route "addCorpus"
, Folder <$> (route "folder" *> int) , Folder <$> (route "folder" *> int)
, CorpusDocument <$> (route "corpus" *> int) <*> (lit "list" *> int) <*> (lit "document" *> int)
, Corpus <$> (route "corpus" *> int) , Corpus <$> (route "corpus" *> int)
, CorpusDocument <$> (route "corpus" *> int) <*> (lit "list" *> int) <*> (lit "document" *> int)
, Document <$> (route "list" *> int) <*> (lit "document" *> int) , Document <$> (route "list" *> int) <*> (lit "document" *> int)
, Dashboard <$ route "dashboard" , Dashboard <$ route "dashboard"
, PGraphExplorer <$> (route "graph" *> int) , PGraphExplorer <$> (route "graph" *> int)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment