fix namespace regression #665

Closed
wants to merge 1 commit into
from
@@ -220,7 +220,7 @@ def resource_params
end
def namespace
- @params[:controller].split("::")[0..-2]
+ @params[:controller].split("/")[0..-2]
end
def namespaced_name