On Tue, May 21, 2013 at 12:01 AM, Rochit Sen <lists@ruby-forum.com> wrote:
> Rochit Sen wrote in post #1109638:
>> mike wrote in post #1109637:
>>> On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
>>>> def load
>>>>
>>>>
>>> You need to configure the route in the config/routes.db file. In this
>>> case,
>>>
>>> get 'draw#load'
>>
>> Hi Mike. Thanks for response. So in this case i would need to do
>> addition in
>> Routes.rb for each controller/action.? Is there no rule that can be set
>> In routes.rb?
>
> Hi All,
>
> I looked at the guide and also entered:
> get 'draw#load'
> This is still not working. Can someone please send me a working example
> or try similar thing themselves. I am really stuck on this.
Maybe try:
match 'draw/load' => 'draw#load'
instead?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t9%2B1pn_8FioZFCCRw4hVCHuqDurEWjpw37Ju1UCBDdTbg%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment