def compares
      params[:sort] ||= "ui_changed_screenshots.url asc"
      @screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_compare => true)
                                                                  .paginate(:page => params[:page],
                                                                            :per_page => params[:per_page],
                                                                            :order => params[:sort])
      @type = "Compare"
      render "ui_changed/screenshots/screenshots"
    end
def compares
      params[:sort] ||= "ui_changed_screenshots.url asc"
      @screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_compare => true)
                                                                  .paginate(:page => params[:page],
                                                                            :per_page => params[:per_page],
                                                                            :order => params[:sort])
      @type = "Compare"
      render "ui_changed/screenshots/screenshots"
    end
GET /screenshots/compares