Modified the urlManager rules. Now the application has some nice URLs.
Inside the PostController class a redundant comment was removed.