This is totally fine, however a slightly more idiomatic way of doing this is to use the rails helpers:

    <%= link_to 'Create a New Event', new_event_path, class: 'button' %>

That way if you re-route that url to a new action everything is still going to work.