Add getQuery function in Edit / Actions / Show controllers
FIX wrong method name
Merge pull request #709 from sescandell/feature-buildQueryMethod

Add getQuery function in Edit / Actions / Show controllers