Fixed context reference in getAttributes view method
Merge pull request #5 from saiwong/context_fix

Context fix