can not return {moved, Url} from an action in 0.8.9 #408

Closed
arkdro opened this Issue Jan 11, 2014 · 1 comment

Projects

None yet

2 participants

@arkdro

in 0.8.7 an action could return {moved, Url}
in 0.8.9 it results in an error:
@boss_web_controller_render:expand_action_result:132 Action returned an invalid return {moved,"http://127.0.0.1:8001/"}

It looks like expand_action_result(Other) doesn't want to return unknown value. Although, in 0.8.7 it was possible:
process_action_result(_, Else, _, _, _) ->
Else.

Is this behaviour correct?

@choptastic

As far as I can tell this works just fine now. I'm going to close this.

@choptastic choptastic closed this Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment