The present application relates to indole and indoline derivatives of formula (I)wherein a, R1, m, L, and Q are as defined in the specification. The present application also relates to compositions comprising such compounds, and methods of treating disease conditions using such compounds and compositions of such compounds.