#465: Fixed 404 error at creation of ProductBuildList

This commit is contained in:
Vokhmin Alexey V 2015-04-19 23:05:28 +03:00
parent b93f40a154
commit 97fd668871
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class Platforms::ProductBuildListsController < Platforms::BaseController
before_action :redirect_to_full_path_if_short_url, only: [:show, :update]
before_action :load_product, except: :index
before_action :load_product_build_list, except: [:index, :create]
before_action :load_product_build_list, except: [:index, :new, :create]
def new
@product_build_list = @product.product_build_lists.new