DEfusion (4) [Avatar] Offline
#1
My rails app and HTML views will essentially be a wireframe for us to test internally, so live I wouldn't want any users be able to access the controllers via HTML, as all the UI will be done via Flex.

I've not looked into it yet (other than some cursory searching that didn't get me anywhere) but is there anyway to disable format.html from functioning within say the live environment?

I've looked at the action_controller/mime_responds.rb file and think I could write a plugin to override it to do what I want but I wondered if there was an easier way.