Refactores function implementation

pull/508/head
Hagen Schink 11 years ago
parent 5bfcc2ba40
commit 1458ddf100
  1. 6
      app/controllers/attachments_controller.rb

@ -99,10 +99,6 @@ private
end
def destroy_response_url(container)
object = container
object = [@project, container.wiki] if container.kind_of? WikiPage
url_for(object)
url_for(container.kind_of?(WikiPage) ? [@project, container.wiki] : container)
end
end

Loading…
Cancel
Save