Hi,
I have a module called "articles", so to show an article I must use link:
/articles/show/{article_unique_name}.html
, but I want to use links like this:
http://my_server.com/{any_text}/{article_module_unique_name}/{article_unique_name}.html
, to acheive this I want to have a database table with "article_module_unique_name" and coressponding module names - so one module can have multiple "article_module_unique_name". After user writes an url, I want to resolve module by looking up in table mentioned above, and run show action with apropriate model resolved by "article_unique_name".
Is it possible, If so how? Should I have one controller - "resolver" which will handle any request? Is it possible generate content from module from other controller (my controller "resolver")?
Best regards,
mazu