class Admin::ConfigController < Admin::BaseController
  def show
  end

  def create
    ConfigVersion.publish!
    redirect_to(admin_config_publish_path)
  end
end

class Admin::ConfigController < Admin::BaseController
  def show
  end

  def create
    ConfigVersion.publish!

    flash[:success] = "Successfully published configuration... Changes should be live in a few seconds..."
    redirect_to(admin_config_publish_path)
  end
end

Add a flash confirmation to the publish process.
Add a flash confirmation to the publish process.
