You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/app/controllers/quality_analyses_controller.rb

27 lines
517 B

class QualityAnalysesController < ApplicationController
before_filter :find_project_by_project_id#, :except => [:getattachtype]
layout "base_projects"
include ApplicationHelper
def new
end
def create
branch = params[:branch]
language = params[:language]
path = params[:path]
end
def index
end
# Find project of id params[:project_id]
def find_project_by_project_id
@project = Project.find(params[:project_id])
rescue ActiveRecord::RecordNotFound
render_404
end
end