change controller scaffold template in order to build resource params

Change scaffold controllers template in order to generate resource params.
Could you point the case when singular_name is not present as I see https://www.omniref.com/ruby/gems/railties/4.0.5/symbols/Rails::Generators::NamedBase/singular_name%5BR%5D#line=30 there is too much functions related to it. 

" I believe we should change it to require" - you mean raise exception if singular_name is not present?