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 8011557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:03:10+00:00 2026-06-04T19:03:10+00:00

Basically I have an existing CollegeClass Controller that has the default basic RESTful actions

  • 0

Basically I have an existing CollegeClass Controller that has the default basic RESTful actions like show for showing the webpage for that college class,edit for editing, and update for the post action of editing the page itself. I need to add an additional single “About the class” webpage to this resource which will not add another model. It will just add another field to the existing CollegeClass table for the html that will present the new page.

Should I create a controlller exclusive to the “About the class”? Or should I add on into the CollegeClass controller new actions? Or do I need to nest this?

Thanks for your help

  • 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-04T19:03:11+00:00Added an answer on June 4, 2026 at 7:03 pm

    I would go with the custom action and just route it inside college routes as

    resources :colleges do
      member do
        get 'about'
      end
    end
    
    
    CollegeController < ApplicationController
      def about
      end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have a script that cannot see an existing directory on the OS
Basically I have a web app that I'm building on top of an existing
I'm pretty basic with .net But basically I've been told that to have session
I have an existing table structure that looks something like this: AnimalTable ------------- |Id
I basically have 7 select statements that I need to have the results output
I basically have an image of a world map and i would like to
I'm having problems starting my application. Basically, I have an existing application, but just
I have an existing data model. I would like to express this data model
I have an existing system that I do not wish to change where I
I have an existing web application that is used by my coworkers. This web

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.