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:
parent
ecb1981bfd
commit
3f9598d491
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue