rails/rails — Issue #4876: Make the view name passed to the render method accessible in views
Author: behrangsa
Created: 2012-02-04 03:35:31+00:00
State: open

Having

```ruby
def FooController < ApplicationController
def foo_action
render :action => "bar"
end
end
```

It would be nice if name of the action (and controller) that is passed to the render method was accessible in the view templates.