Great. Happy hacking!
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Jun 29, 2014 12:29 PM, "Pranaya Behera" <[email protected]> wrote:
> Hello Jesse,
> Thank you . That was the issue.
>
> On Sunday, June 29, 2014 10:41:56 PM UTC+5:30, Pranaya Behera wrote:
>>
>> Hello ,
>> I am new to erlang and chicagoboss as well. I have installed
>> both and made one project. I have installed Chicagoboss from the git master
>> not on a stable branch though . In controllers dir i created
>> appname_application.controller.erl and I tried the hello world example
>> from the documentation section. When I go to the
>> localhost:8001/application/hello
>> it gives me the view file for hello isn't defined. Isn't it supposed to
>> show me hello world directly if I am directly sending data to the browser.
>>
>> appname_application_controller.erl
>> -module(ntw_application, [Req]).
>> -compile(export_all).
>>
>> hello('GET', []) ->
>> {json, [{application, "Hello, world!"}]}.
>>
>>
>> Browser error:
>> The requested template
>> ("src/view/application/hello.{dtl,html,txt,js,jade,eex}")
>> was not found. If you controller did not run, check that it was exported
>> Additionally, no handler was found for processing 404 errors. You probably
>> want to modify /home/shafox/Sandbox/appname/priv/ntw.routes to prevent
>> errors like this one.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/ed42ea89-e172-486c-8765-90706ede7b86%40googlegroups.com
> <https://groups.google.com/d/msgid/chicagoboss/ed42ea89-e172-486c-8765-90706ede7b86%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/CAPTXyXcZz1c2D7ZFKz1bj%2BKo0EQJsDv5f1sqPYTPD-BY-%2B4QgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.