added categories variable to view idea edit spec