diff --git a/app/controllers/platforms_controller.rb b/app/controllers/platforms_controller.rb index b94ba4b5c..7a2659a8a 100644 --- a/app/controllers/platforms_controller.rb +++ b/app/controllers/platforms_controller.rb @@ -3,7 +3,7 @@ class PlatformsController < ApplicationController before_filter :authenticate_user! - before_filter :find_platform, :only => [:freeze, :unfreeze, :clone] + before_filter :find_platform, :only => [:freeze, :unfreeze, :clone, :edit] before_filter :get_paths, :only => [:new, :create] def index @@ -33,6 +33,10 @@ class PlatformsController < ApplicationController @platforms = Platform.all @platform = Platform.new end + + def edit + @platforms = Platform.all + end def create @platform = Platform.new params[:platform]