action_links, development, linking to "localhost:3000/assets?..." ???

37 views
Skip to first unread message

Atastor

unread,
Mar 21, 2012, 7:24:36 AM3/21/12
to actives...@googlegroups.com
Rails 3.2.2, as master etc.

Add

conf.action_links.add "anything"

to one of the controllers. Why does the resulting link lead to 


nowadays? Did I miss any recent change?

Regards
Michael

Andrey Novikov

unread,
Mar 21, 2012, 9:59:47 PM3/21/12
to actives...@googlegroups.com
Did you add a route for that action, e.g.:

resource :great_resources do
  as_routes
  member do
    get :anything
  end
end

Last time I've seen it, it was a routing problem (AFAIR)

Atastor

unread,
Mar 22, 2012, 4:16:28 AM3/22/12
to actives...@googlegroups.com
Wow..now I really DO feel silly...of course I did think of it, but immediately discarded the idea for whatever reasons instead of just testing it..

Thanks loads!

:-)
Michael
Reply all
Reply to author
Forward
0 new messages