ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Protect methods in ApplicationController (Bug #302)
Description
ApplicationController has a bunch of utility methods that are set to "public". This means they are included in the list of actions for all controllers.
This becomes a annoyance in development if you hit an unknown action:
Unknown action
No action responded to index. Actions: accept_key_auth_actions, api_request?, authorize, authorize_global, back_url, check_if_login_required, check_project_privacy, current_language, current_menu_item, day_name, default_search_scope, default_search_scopes, delete_broken_cookies, deny_access, filename_for_content_disposition, find_current_user, find_issues, find_language, find_model_object, find_optional_project, find_project, find_project_by_project_id, find_project_from_association, format_date, format_time, invalid_authenticity_token, l_hours, l_or_humanize, ll, logged_user=, menu_items, month_name, object_errors_to_json, parse_qvalues, per_page_option, query_statement_invalid, redirect_back_or_default, redirect_to_project_menu_item, render_403, render_404, render_attachment_warning_if_needed, render_error, render_feed, require_admin, require_login, set_flash_from_bulk_issue_save, set_language_if_valid, set_localization, use_layout, user_setup, and valid_languages
Associated revisions
[#302] Protect ApplicationController methods so they are not considered actions
History
Updated by Eric Davis at 2011-03-24 09:23 pm
Fixed and added to master
- Status changed from Open to Closed