Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8246265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:27:01+00:00 2026-06-07T22:27:01+00:00

Assume I had a method action called ‘ReceivedMessages’ that shows all the received messages.

  • 0

Assume I had a method action called ‘ReceivedMessages’ that shows all the received messages.
In that page, if you click on any message, it redirects to its ‘Show’ page.

I can go that ‘Show’ page from ‘SentMessages’ also.

It has to be judged where that ‘Show’ page comes from either ‘ReceivedMessages’ or ‘SentMessages’

It’s for breadcrumbs purpose. It has to be something like this

Home > Received Messages > A Message or
Home > Sent Messages > A Message

To make this links, I have to pass the path to Received Messages view, and from there to ‘Show’ controller to create 2nd link in my Breadcrumbs.

How can I archive this???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:27:03+00:00Added an answer on June 7, 2026 at 10:27 pm

    Put the params you want in the url path of your links, like this:

    <%= link_to "Show Message", message_path(:id => @message.id, :breadcrumb => 'ReceivedMessage') %>
    <%= link_to "Show Message", message_path(:id => @message.id, :breadcrumb => 'SentMessages') %>
    

    Then, in your controller you make your logic with these params.

    params[:breadcrumb]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using II6. I have a Method(LogMessageToSIFDB) that I assume had an exception,
I had assume I could just do this, but I don't have a way
I have had to make changes to a trigger and assumed that running an
Assume that we have two sets: A=(a_1,a_2,...,a_m) and B=(b_1,b_2,...,a_n) (Not necessarily of same size).
Assume I have an image uploaded to a store on Shopify called 'logo.png'. In
I really had no idea what to title this question. Assume I have a
I had a discussion in another thread, and found out that class methods takes
I am trying to write a method that will toggle a button from being
Lets assume I had the following Model class A(Models.model): def __init__(self,data): B(a=self,data=data).save() class B(Models.model):
I have a UIViewController subclass called TripViewController. This class has the following method: -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.