Skip to content

Commit

Permalink
Add require
Browse files Browse the repository at this point in the history
  • Loading branch information
dorner committed Mar 1, 2024
1 parent 7eb42cd commit dc07739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protoc-gen-rails/internal/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type Route struct {
}

var controllerTemplate = `
require 'grpc_rest'
require 'services/geo_admin/v1/test_services_pb'
class {{.ControllerName}}Controller < ActionController::Base
protect_from_forgery with: :null_session
Expand Down

0 comments on commit dc07739

Please sign in to comment.