Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Resource generator should generate a better variable name #197

Closed
markbates opened this issue Jan 30, 2017 · 1 comment
Closed

Resource generator should generate a better variable name #197

markbates opened this issue Jan 30, 2017 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@markbates
Copy link
Member

When running the following command:

$ buffalo g resource todos

It generates:

var resource buffalo.Resource
resource = &TodosResource{&buffalo.BaseResource{}}

it should generate:

var todosResource buffalo.Resource
todosResource = &TodosResource{&buffalo.BaseResource{}}
@markbates markbates added this to the 0.7.2 milestone Jan 30, 2017
@bscott bscott added the enhancement New feature or request label Jan 31, 2017
@paganotoni
Copy link
Member

@markbates @bscott should we close this one ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants