rails/rails — pull request #11432 by yalab (2013-07-14 10:50:34+00:00)
Title: Add --model-name option into scaffold_controller generator 

Hi.

I want a feature that

```
$ rails g scaffold_controller Admin::User
```

to be generated.

```ruby
class Admin::UsersController < ApplicationController
before_action :set_user, only: [:show, :edit, :update, :destroy]

# GET /users
def index
@users = User.all
end
...
```

I discussed the feature #11408 .