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

  • SEARCH
  • Home
  • 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 9130299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:56:25+00:00 2026-06-17T07:56:25+00:00

I added irwi ( https://github.com/alno/irwi ) to my app. I’d like it accessible when

  • 0

I added irwi ( https://github.com/alno/irwi ) to my app.

I’d like it accessible when user access to http://example.com/shop/:shop_name/wiki
(I need to know how routes.rb should be)

Anyone can show me how to make it?

:shop_name is slug so that it could be various pattern.
Of course each shop record should have a wikipedia ( one-to-one here. When shop is being created, one wikipedia page for it should be created automatically at the same time. )

I’m using Cancan, and devise for authentication so if possible, I want it only the registered user can edit and update wikipedia page.
Thanks.

  • 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-17T07:56:26+00:00Added an answer on June 17, 2026 at 7:56 am

    see – http://guides.rubyonrails.org/routing.html for how to do your routing if you want more detailed help you will have to provide more code. Will be something along the lines of-

    resource :wiki, :controller => :shop, :only => [] do
      get :wiki
      post :wiki
    end
    

    depending on what you require wiki to be able to do, your controllers etc. you should just be able to use the

    before_filter :authenticate_user!
    

    for your authentication

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added Jquery toggle/show hide in my site (click the plus sign) http://pligg.marsgibson.info if
I added a user control in my MyDashboards.aspx page; <uc:dlUC ID=dashboardListUserControl runat=server OnInit=ConfigureDashboardList />
I added social framework in my project & make as a optional. My app
I added a custom user field in Liferay, and set a value on a
Added: thanks to user @grapkulec, I am using using Microsoft.Exchange.WebServices.Data; I am trying to
I added two fields to my devise user. I did this by adding them
I added a GoogleAdMobAdsSdkiOS-6.1.4 SDK to my cocos2d app in order to integrate AdWhirl.
I added a wav file to my Windows Mobile app and I want to
I added a dynamically added object like: @Html.EditorFor(model => model.Province) My model contains the
I added the GestureListener to an image i'm trying to have zoom like this

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.