racke / Template-Flute

Template::Flute - Modern designer-friendly HTML templating Engine
Other
11 stars 12 forks source link

switch Form->action to immutable and remove private writer method #137

Closed SysPete closed 9 years ago

SysPete commented 9 years ago

Old set_action method now implemented via writer option in atrtribute definition along with 'after' modifier to update action in twig elt. Now it is not possible for subclass to alter value of action without updating the associated twig elt. Adds safety and reduces line count.

racke commented 9 years ago

Thanks for the help!