Created posts controller, used 0.6.0 workaround for Dashboard constant variable bug