generators/scaffold_generator.rb in motion-prime-0.9.4 vs generators/scaffold_generator.rb in motion-prime-0.9.5
- old
+ new
@@ -6,11 +6,11 @@
@p_title = @p_name.titleize
@s_class_name = @s_name.camelize
@p_class_name = @p_name.camelize
template 'scaffold/screen.rb', "app/screens/#{@p_name}.rb"
template 'scaffold/model.rb', "app/models/#{@s_name}.rb"
- template 'scaffold/table.rb', "app/sections/#{@p_name}/table.rb"
- template 'scaffold/cell.rb', "app/sections/#{@p_name}/cell.rb"
+ template 'scaffold/table.rb', "app/sections/#{@p_name}/index_table.rb"
+ template 'scaffold/cell.rb', "app/sections/#{@p_name}/index_cell.rb"
template 'scaffold/form.rb', "app/sections/#{@p_name}/form.rb"
template 'scaffold/show.rb', "app/sections/#{@p_name}/show.rb"
template 'scaffold/styles.rb', "app/styles/#{@p_name}.rb"
end
end
\ No newline at end of file