mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Only generate template files when doing rails g kaminari:views ...
This basically reverts 12822c9ee1
.
closes #623.
This commit is contained in:
parent
2f29c2ae55
commit
00dbca82e5
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ BANNER
|
|||
end
|
||||
|
||||
def templates_for(template_engine) #:nodoc:
|
||||
@templates.select {|t| !t.description?}.select {|t| !t.view? || (t.engine == template_engine)}
|
||||
@templates.select {|t| t.engine == template_engine }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue