Methods
Instance Public methods
create()
Link
Source: show
# File app/controllers/protected_branches_controller.rb, line 13 def create @project.protected_branches.create(params[:protected_branch]) redirect_to project_protected_branches_path(@project) end