class ShopifyApp::Generators::AppProxyControllerGenerator
def add_app_proxy_route
def add_app_proxy_route inject_into_file( "config/routes.rb", File.read(File.expand_path(find_in_source_paths("app_proxy_route.rb"))), after: "mount ShopifyApp::Engine, at: '/'\n", ) end
def create_app_proxy_controller
def create_app_proxy_controller template("app_proxy_controller.rb", "app/controllers/app_proxy_controller.rb") end
def create_app_proxy_index_view
def create_app_proxy_index_view copy_file("index.html.erb", "app/views/app_proxy/index.html.erb") end