errors_controller.rb revision d79e030993a7d41dd0becfe941633e23997a6717
cd3a12bbb218269c922cf4f35ebcdeea606e586fVladimir Kotalclass ErrorsController < InheritedResources::Base
cd3a12bbb218269c922cf4f35ebcdeea606e586fVladimir Kotal belongs_to :repository, finder: :find_by_path!
cd3a12bbb218269c922cf4f35ebcdeea606e586fVladimir Kotal before_filter :index, :check_read_permissions
cd3a12bbb218269c922cf4f35ebcdeea606e586fVladimir Kotal @orphans = ontos.select{|o| o.versions.empty? }