Modify redmine default page

Source: Internet
Author: User
Tags redmine

After logging on to the original system, the redmine homepage displays the latest news and projects by default,

However, for most users, displaying "My workbench" is more appropriate.

There are two solutions:

 

1. Modify account_controller.rb

Set the redirect_back_or_default row in successful_authentication
Change to redirect_to: controller => "my",: Action => "page". Disadvantages: If you want to directly view the issue content through the issue link,
After logging on to the console, it will jump to the workbench without displaying the issue content;

 

2. Modify application_controler.rb

Add if URL on the line respond_to of require_login. rindex ("/") = URL. length-1 url = url_for (: controller => "my",: Action => "page") End

Restart related services after modification;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.