sinisterchipmunk/jax — Issue #54: Default views can't be overridden
Author: sinisterchipmunk
Created: 2012-01-08 20:48:33+00:00
State: open
Labels: bug

A default view file, when modified, is not overridden. This is a very difficult issue to discover because the JavaScript sources are updated, the new views are loaded, etc., but they simply aren't _used_.

What is happening is this: when a Jax controller is created, it is mapped to a default view if an overridden view can't be found. The route set converts names to underscored format; however, the code that maps the default view does not account for this, so it indicates that the view has not been defined because the view that _has_ been defined, is not in underscored format.

If the user manually lowercases the view name (e.g. the path "Zones/index" becomes "zones/index"), the view is overridden as expected.