Upravena sablona.
Upravena sablona.
Added awesome_nested_set to gems
Created table structure
Added unit resource

Created unit resource via
rails g resource unit
rspec: controller tests
rspec: unit factory
Updated routes for unit controller
Fixed: parent class
Executed migration: unit model
Added template for index
Fixed: division variable in test
Added show template
Installed awesome_nested_set
Added: validation
Fixed: test detail oblasti 11

Fixed parent_id.
Fixed test: vytvoreni oblasti

Use valid parent id.
Cannot destroy unit with child
rspec: check errors in test

Added check for error list in test "nesmaze neprazdnou divizi"
Bug-fix: get attribute