Create helper file and access from controller