guidomb/loadjs — pull request #3 by badosu (2013-05-07 05:09:35+00:00)
Title: Simple controller and action does not works

I had to replace the line:

```javascript
fn(controller, action);
```

with:

```javascript
fn(currentController, currentAction);
```

to use the gem in my project. Specifically:

```javascript
load(
{ controllers: { projects: ['new', 'edit'] }},
function (controller, action) {
});
```

and

```javascript
load({controller: 'pages', action: 'how_it_works'}, ->
```