Parcly Taxel
Princess of Science
@Sollace I suppose you could PM any of the developers to inquire about that. You may also check out the projects on Philomena’s GitHub page to see what really is going on behind the scenes.
Any idea when the /images/[id] will be fixed so it links to /[id] again?
I’m getting tired of always having to edit the url before copying.
get '/:forum\_id/:id/last' =\> 'topics\#show\_last\_page'
get '/forums/:forum\_id/topics/:id/last' =\> 'topics\#show\_last\_page'
get '/:forum\_id/topics/:id/last' =\> 'topics\#show\_last\_page'
constraints\(page: /\[0-9\]+/\) do
get '/:forum\_id/:id/:page' =\> 'topics\#show'
get '/:forum\_id/topics/:id/:page' =\> 'topics\#show'
end
get '/:forum\_id/:id/post/:post\_id' =\> 'topics\#show', as: 'short\_topic\_post'
get '/:forum\_id/topics/:id/post/:post\_id' =\> 'topics\#show'
However, because Phoenix has a completely different method for matching routes (it can only use a fixed string prefix), the best we can do with the Phoenix router (outside of hijacking the request pipeline) is [this](https://github.com/derpibooru/philomena/blob/master/lib/philomena_web/router.ex#L368-L373):
(Note that this is also why you can't go to
/disanymore to get the General Discussion forum. You have to go to
/forums/disnow.) Furthermore, it wasn't compatible with our resourceful routing scheme. You may have previously noticed this inconsistency on the Rails side, where routes like
/:image_id/tag_changesdid not exist, and were always pointed to
/images/:image_id/tag_changes. The same thing applies here. These are the reasons I am moving to this canonical format. To me, with the new framework, it doesn't make any sense anymore to keep
/:id` as the canonical route.https://derpibooru.org/search?_utf8=%E2%9C%93&q=philomena
? https://derpibooru.org/search?q=philomena
is equivalent to it.Help fund the $15 daily operational cost of Derpibooru - support us financially!