diff --git a/controllers/release.rb b/controllers/release.rb index e110d92..fd8b2d5 100644 --- a/controllers/release.rb +++ b/controllers/release.rb @@ -10,7 +10,7 @@ end end -post '/app_release/android' do +post '/admin/app_release/android' do @app_release = AppRelease.first_or_initialize @app_release.message = params[:message] diff --git a/public/js/components/androidRelease.jsx b/public/js/components/androidRelease.jsx index 71517b7..a4ece7f 100644 --- a/public/js/components/androidRelease.jsx +++ b/public/js/components/androidRelease.jsx @@ -32,7 +32,7 @@ module.exports = React.createClass({ }, submitNewRelease: function() { - var url = '/app_release/android' + var url = '/admin/app_release/android' var data = new FormData() var message = this.refs.message.getValue()