1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix description for application_name method - change simple to simply

[ci skip]
This commit is contained in:
Prathamesh Sonpatki 2014-12-30 22:30:04 +05:30
parent ecb1981bfd
commit 3f9598d491

View file

@ -145,7 +145,7 @@ module Rails
@route_url ||= class_path.collect {|dname| "/" + dname }.join + "/" + plural_file_name
end
# Tries to retrieve the application name or simple return application.
# Tries to retrieve the application name or simply return application.
def application_name
if defined?(Rails) && Rails.application
Rails.application.class.name.split('::').first.underscore