lib/auth/rails/routes.rb in wordjelly-auth-1.2.3 vs lib/auth/rails/routes.rb in wordjelly-auth-1.2.4
- old
+ new
@@ -149,10 +149,10 @@
resources collection.to_sym, controller: controller_name, path: "/auth/work/communications"
else
scope :path => scope_path, :as => as_prefix do
resources collection.to_sym, controller: controller_name do
- member do
+ collection do
if ((model == "personality") || (model == "place"))
get 'search', :action => 'search'
end
end
collection do