Archive: ComponentOwl Rails app, DB backups, go redirect script

This commit is contained in:
EC2 Default User
2026-03-23 16:20:05 +00:00
commit 50037f386f
218 changed files with 14558 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
class LandingPagesController < ApplicationController
before_filter :init_product
layout "simple"
caches_page :show
def show
@support_request = SupportRequest.new
@support_request.support_request_origin = SupportRequestOrigin['landing-page']
@support_request.product = @product
end
private
def init_product
@product = Product.find_by_code(params[:id])
end
end