Use custom page name for cancan abitlity config

At the moment custom pages get checked against the page instance.

With this code you can use the custom page name instead.

f.e. (ability.rb)

    can :manage, 'Dashboard'