Change all redirect_to(path) to redirect path for uniformity

This commit is contained in:
Nishanth Vijayan 2016-03-11 02:08:00 +05:30
parent 434eb90b76
commit 19c54bd935
23 changed files with 128 additions and 125 deletions

View file

@ -5,9 +5,9 @@ module Admin
def update
@conference.email_settings.update_attributes(email_params)
redirect_to(admin_conference_emails_path(
redirect_to admin_conference_emails_path(
@conference.short_title),
notice: 'Settings have been successfully updated.')
notice: 'Settings have been successfully updated.'
end
def index