Mercurial > hg > soundsoftware-site
diff app/controllers/projects_controller.rb @ 915:2a68662d5adf cannam_integration
*needs further testing* Moved several files' extension to ".erb"; modified two files because they were calling partials/templates with rhtml extensions; renamed email templates sent when a user is added to a publication.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 02 Mar 2012 12:37:17 +0000 |
parents | 5e80956cc792 |
children | b03f28dd9026 |
line wrap: on
line diff
--- a/app/controllers/projects_controller.rb Fri Mar 02 11:44:22 2012 +0000 +++ b/app/controllers/projects_controller.rb Fri Mar 02 12:37:17 2012 +0000 @@ -61,7 +61,7 @@ # @user_projects = User.current.projects.sort_by(&:name) @user_projects = User.current.projects.all(:order => :name) end - render :template => 'projects/index.rhtml', :layout => !request.xhr? + render :template => 'projects/index.erb', :layout => !request.xhr? } format.api { @offset, @limit = api_offset_and_limit