rails 4 link_to_funcation and permit