Fix for rails 4

Working fix for rails 4 as ActionDispatch::Static still returns "static"