In brief, does it make sense to have:

http://example.com/admin/build/path-redirect
...rather than:
http://example.com/admin/build/path_redirect

...and:

http://example.com/admin/build/path-redirect/add
...instead of:
http://example.com/admin/build/path-redirect/new

...and:

http://example.com/admin/build/path-redirect/delete/314
...as opposed to:
http://example.com/admin/build/path-redirect/edit/314/delete

The latter two changes I have already made for the D6 branch while doing the conversion; it just seemed like the more standard way. I can whip patches shortly. Is this likely to break existing links? (For example, does the new pathauto integration rely on the URL in anyway, or just the API?)

Comments

HorsePunchKid’s picture

Status: Active » Needs review
StatusFileSize
new11.05 KB

Here's a patch which does the above. It also separates out the admin overview function from the add/edit form preparation, and it cleans up a couple of other tiny issues which should be clear if you skim the patch.

I'll test this a little more, and I'll probably commit it soon if there are no objections.

HorsePunchKid’s picture

StatusFileSize
new11.56 KB

I think I need to do an update to clear the menu cache after making this change.

HorsePunchKid’s picture

Status: Needs review » Fixed

Tested with and without clean URLs on MySQL and Postgres; upgrade worked fine, everything looks good. Committed!

I need to check how this matches up with the 6.x branch now...

HorsePunchKid’s picture

I applied the necessary parts of this patch to the 6.x branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.