i’m trying to link a new view but it fails. Here is the code:
in the view I have the next link
<%= link_to I18n.t(‘tog_social.groups.site.view_all_blogs’),
and went i clink on it i have the next error in the browser:
undefined method `blogs_group_path’ for #ActionView::Base:0x63267d8
In the desert_routes i put the route:
with_options(:controller => ‘groups’) do |group|
group.tag_groups ‘/groups/tag/:tag’, :action =>
group.blogs ‘/:group_id/blogs’, :action
and i want to know why fail my code. Can anyone help me?
Thanks and apologize me.